Browse Source

Teensylu and Printrboard use different analog pins for thermistors.

Johann Rocholl 12 years ago
parent
commit
33247733e0
1 changed files with 8 additions and 2 deletions
  1. 8
    2
      Marlin/pins.h

+ 8
- 2
Marlin/pins.h View File

@@ -998,10 +998,16 @@
998 998
 #define HEATER_BED_PIN     20  // Bed
999 999
 #define FAN_PIN            22  // Fan
1000 1000
 
1001
-#define TEMP_0_PIN          7  // Extruder / Analog pin numbering
1001
+#if MOTHERBOARD == 8
1002
+  #define TEMP_0_PIN          7  // Extruder / Analog pin numbering
1003
+  #define TEMP_BED_PIN        6  // Bed / Analog pin numbering
1004
+#else
1005
+  #define TEMP_0_PIN          1  // Extruder / Analog pin numbering
1006
+  #define TEMP_BED_PIN        0  // Bed / Analog pin numbering
1007
+#endif
1008
+
1002 1009
 #define TEMP_1_PIN         -1
1003 1010
 #define TEMP_2_PIN         -1
1004
-#define TEMP_BED_PIN        6  // Bed / Analog pin numbering
1005 1011
 
1006 1012
 #define SDPOWER            -1
1007 1013
 #define SDSS                8

Loading…
Cancel
Save