Browse Source

Update printrboard pin assignments

Backported from Printrbot branch, allows the fan to work correctly.
PxT 10 years ago
parent
commit
67b597ad46
1 changed files with 11 additions and 7 deletions
  1. 11
    7
      Marlin/pins.h

+ 11
- 7
Marlin/pins.h View File

1753
 #define E0_ENABLE_PIN      19
1753
 #define E0_ENABLE_PIN      19
1754
 
1754
 
1755
 #define HEATER_0_PIN       21  // Extruder
1755
 #define HEATER_0_PIN       21  // Extruder
1756
-#define HEATER_1_PIN       -1
1757
-#define HEATER_2_PIN       -1
1756
+#define HEATER_1_PIN       46
1757
+#define HEATER_2_PIN       47
1758
 #define HEATER_BED_PIN     20  // Bed
1758
 #define HEATER_BED_PIN     20  // Bed
1759
-#define FAN_PIN            22  // Fan
1760
-// You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
1761
-// for the fan and Teensyduino uses a different pin mapping.
1759
+// If soft or fast PWM is off then use Teensyduino pin numbering, Marlin
1760
+// fastio pin numbering otherwise
1761
+#ifdef FAN_SOFT_PWM || FAST_PWM_FAN
1762
+        #define FAN_PIN        22  // Fan
1763
+#else
1764
+        #define FAN_PIN        16  // Fan
1765
+#endif
1762
 
1766
 
1763
 #if MB(TEENSYLU)  // Teensylu
1767
 #if MB(TEENSYLU)  // Teensylu
1764
   #define X_STOP_PIN         13
1768
   #define X_STOP_PIN         13
1777
   #endif //FILAMENT_SENSOR
1781
   #endif //FILAMENT_SENSOR
1778
 #endif
1782
 #endif
1779
 
1783
 
1780
-#define TEMP_1_PIN         -1
1781
-#define TEMP_2_PIN         -1
1784
+#define TEMP_1_PIN         2
1785
+#define TEMP_2_PIN         3
1782
 
1786
 
1783
 #define SDPOWER            -1
1787
 #define SDPOWER            -1
1784
 #define SDSS                8
1788
 #define SDSS                8

Loading…
Cancel
Save