Browse Source

Fix for pin mapping for SDSS pin and Fan pin, so Arduino library can be used

Cameron Lai 11 years ago
parent
commit
105bebb466
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Marlin/pins.h

+ 4
- 2
Marlin/pins.h View File

@@ -54,9 +54,9 @@
54 54
 #define HEATER_1_PIN       -1
55 55
 #define HEATER_2_PIN       -1
56 56
 #define HEATER_BED_PIN     20  // Bed
57
-#define FAN_PIN            22  // Fan
58 57
 // You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
59 58
 // for the fan and Teensyduino uses a different pin mapping.
59
+#define FAN_PIN            16  // Fan
60 60
 
61 61
 #define TEMP_0_PIN          1  // Extruder / Analog pin numbering
62 62
 #define TEMP_BED_PIN        0  // Bed / Analog pin numbering
@@ -65,12 +65,14 @@
65 65
 #define TEMP_2_PIN         -1
66 66
 
67 67
 #define SDPOWER            -1
68
-#define SDSS                8
69 68
 #define LED_PIN            -1
70 69
 #define PS_ON_PIN          -1
71 70
 #define KILL_PIN           -1
72 71
 #define ALARM_PIN          -1
73 72
 
73
+// The SDSS pin uses a different pin mapping from file Sd2PinMap.h
74
+#define SDSS               20
75
+
74 76
 #ifndef SDSUPPORT
75 77
 // these pins are defined in the SD library if building with SD support
76 78
   #define SCK_PIN           9

Loading…
Cancel
Save