From 33247733e07364aa9cb0868bdb9b1c4fcc427c7e Mon Sep 17 00:00:00 2001 From: Johann Rocholl Date: Sun, 9 Dec 2012 02:19:13 -0800 Subject: [PATCH] Teensylu and Printrboard use different analog pins for thermistors. --- Marlin/pins.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Marlin/pins.h b/Marlin/pins.h index 53da25909..59f86a5ac 100644 --- a/Marlin/pins.h +++ b/Marlin/pins.h @@ -998,10 +998,16 @@ #define HEATER_BED_PIN 20 // Bed #define FAN_PIN 22 // Fan -#define TEMP_0_PIN 7 // Extruder / Analog pin numbering +#if MOTHERBOARD == 8 + #define TEMP_0_PIN 7 // Extruder / Analog pin numbering + #define TEMP_BED_PIN 6 // Bed / Analog pin numbering +#else + #define TEMP_0_PIN 1 // Extruder / Analog pin numbering + #define TEMP_BED_PIN 0 // Bed / Analog pin numbering +#endif + #define TEMP_1_PIN -1 #define TEMP_2_PIN -1 -#define TEMP_BED_PIN 6 // Bed / Analog pin numbering #define SDPOWER -1 #define SDSS 8