Sfoglia il codice sorgente

Apply spacing in pins files

Scott Lahteine 6 anni fa
parent
commit
436e5b7ea3
76 ha cambiato i file con 955 aggiunte e 974 eliminazioni
  1. 3
    3
      Marlin/src/pins/pins_3DRAG.h
  2. 1
    1
      Marlin/src/pins/pins_5DPRINT.h
  3. 48
    48
      Marlin/src/pins/pins_ALLIGATOR_R2.h
  4. 7
    7
      Marlin/src/pins/pins_ANET_10.h
  5. 3
    3
      Marlin/src/pins/pins_AZSMZ_MINI.h
  6. 7
    7
      Marlin/src/pins/pins_AZTEEG_X3.h
  7. 14
    15
      Marlin/src/pins/pins_AZTEEG_X3_PRO.h
  8. 4
    4
      Marlin/src/pins/pins_AZTEEG_X5_GT.h
  9. 2
    2
      Marlin/src/pins/pins_BAM_DICE_DUE.h
  10. 12
    12
      Marlin/src/pins/pins_BEAST.h
  11. 22
    22
      Marlin/src/pins/pins_BIQU_BQ111_A4.h
  12. 10
    10
      Marlin/src/pins/pins_BQ_ZUM_MEGA_3D.h
  13. 0
    0
      Marlin/src/pins/pins_BRAINWAVE.h
  14. 0
    0
      Marlin/src/pins/pins_BRAINWAVE_PRO.h
  15. 2
    2
      Marlin/src/pins/pins_CHEAPTRONIC.h
  16. 12
    12
      Marlin/src/pins/pins_CHITU3D.h
  17. 2
    2
      Marlin/src/pins/pins_CNCONTROLS_11.h
  18. 4
    4
      Marlin/src/pins/pins_CNCONTROLS_12.h
  19. 31
    31
      Marlin/src/pins/pins_COHESION3D_MINI.h
  20. 40
    40
      Marlin/src/pins/pins_COHESION3D_REMIX.h
  21. 18
    18
      Marlin/src/pins/pins_DUE3DOM.h
  22. 7
    7
      Marlin/src/pins/pins_DUE3DOM_MINI.h
  23. 7
    7
      Marlin/src/pins/pins_EINSY_RAMBO.h
  24. 21
    21
      Marlin/src/pins/pins_ELEFU_3.h
  25. 3
    4
      Marlin/src/pins/pins_GEN3_MONOLITHIC.h
  26. 6
    6
      Marlin/src/pins/pins_GEN7_12.h
  27. 1
    1
      Marlin/src/pins/pins_GEN7_13.h
  28. 3
    3
      Marlin/src/pins/pins_GEN7_14.h
  29. 2
    2
      Marlin/src/pins/pins_GEN7_CUSTOM.h
  30. 1
    1
      Marlin/src/pins/pins_GT2560_REV_A.h
  31. 14
    14
      Marlin/src/pins/pins_LEAPFROG.h
  32. 5
    5
      Marlin/src/pins/pins_MALYAN_M200.h
  33. 12
    12
      Marlin/src/pins/pins_MEGACONTROLLER.h
  34. 7
    7
      Marlin/src/pins/pins_MEGATRONICS.h
  35. 10
    10
      Marlin/src/pins/pins_MEGATRONICS_2.h
  36. 9
    9
      Marlin/src/pins/pins_MEGATRONICS_3.h
  37. 5
    5
      Marlin/src/pins/pins_MELZI_CREALITY.h
  38. 6
    6
      Marlin/src/pins/pins_MELZI_MALYAN.h
  39. 46
    48
      Marlin/src/pins/pins_MIGHTYBOARD_REVE.h
  40. 2
    2
      Marlin/src/pins/pins_MINIRAMBO.h
  41. 15
    15
      Marlin/src/pins/pins_MINITRONICS.h
  42. 2
    2
      Marlin/src/pins/pins_MKS_BASE.h
  43. 10
    10
      Marlin/src/pins/pins_MKS_BASE_HEROIC.h
  44. 36
    36
      Marlin/src/pins/pins_MKS_SBASE.h
  45. 9
    9
      Marlin/src/pins/pins_OMCA.h
  46. 4
    4
      Marlin/src/pins/pins_OMCA_A.h
  47. 2
    2
      Marlin/src/pins/pins_PRINTRBOARD.h
  48. 16
    16
      Marlin/src/pins/pins_PRINTRBOARD_REVF.h
  49. 4
    4
      Marlin/src/pins/pins_RADDS.h
  50. 21
    21
      Marlin/src/pins/pins_RAMBO.h
  51. 25
    37
      Marlin/src/pins/pins_RAMPS.h
  52. 6
    6
      Marlin/src/pins/pins_RAMPS_DUO.h
  53. 16
    16
      Marlin/src/pins/pins_RAMPS_FD_V1.h
  54. 5
    5
      Marlin/src/pins/pins_RAMPS_OLD.h
  55. 106
    107
      Marlin/src/pins/pins_RAMPS_RE_ARM.h
  56. 5
    5
      Marlin/src/pins/pins_RAMPS_SMART.h
  57. 5
    5
      Marlin/src/pins/pins_RIGIDBOARD.h
  58. 5
    5
      Marlin/src/pins/pins_RIGIDBOARD_V2.h
  59. 2
    2
      Marlin/src/pins/pins_RUMBA.h
  60. 18
    18
      Marlin/src/pins/pins_RURAMPS4D.h
  61. 5
    5
      Marlin/src/pins/pins_SAINSMART_2IN1.h
  62. 18
    18
      Marlin/src/pins/pins_SANGUINOLOLU_11.h
  63. 4
    4
      Marlin/src/pins/pins_SAV_MKI.h
  64. 5
    5
      Marlin/src/pins/pins_SCOOVO_X9H.h
  65. 3
    3
      Marlin/src/pins/pins_SELENA_COMPACT.h
  66. 1
    1
      Marlin/src/pins/pins_SETHI.h
  67. 1
    1
      Marlin/src/pins/pins_SILVER_GATE.h
  68. 12
    13
      Marlin/src/pins/pins_STM32F1R.h
  69. 15
    16
      Marlin/src/pins/pins_STM3R_MINI.h
  70. 3
    3
      Marlin/src/pins/pins_TEENSY2.h
  71. 3
    3
      Marlin/src/pins/pins_TEENSY35_36.h
  72. 60
    60
      Marlin/src/pins/pins_THE_BORG.h
  73. 4
    4
      Marlin/src/pins/pins_ULTIMAIN_2.h
  74. 4
    4
      Marlin/src/pins/pins_ULTIMAKER.h
  75. 32
    32
      Marlin/src/pins/pins_ULTIMAKER_OLD.h
  76. 64
    64
      Marlin/src/pins/pins_ULTRATRONICS_PRO.h

+ 3
- 3
Marlin/src/pins/pins_3DRAG.h Vedi File

@@ -153,11 +153,11 @@
153 153
     #define Z_DIR_PIN                28
154 154
     #define Z_ENABLE_PIN             24
155 155
     #define Z_STEP_PIN               26
156
-    #define SPINDLE_LASER_PWM_PIN    46  // MUST BE HARDWARE PWM
157
-    #define SPINDLE_LASER_ENABLE_PIN 62  // Pin should have a pullup!
156
+    #define SPINDLE_LASER_PWM_PIN    46   // MUST BE HARDWARE PWM
157
+    #define SPINDLE_LASER_ENABLE_PIN 62   // Pin should have a pullup!
158 158
     #define SPINDLE_DIR_PIN          48
159 159
   #elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)) // use expansion header if no LCD in use
160
-    #define SPINDLE_LASER_ENABLE_PIN 16  // Pin should have a pullup/pulldown!
160
+    #define SPINDLE_LASER_ENABLE_PIN 16   // Pin should have a pullup/pulldown!
161 161
     #define SPINDLE_DIR_PIN          17
162 162
   #endif
163 163
 #endif

+ 1
- 1
Marlin/src/pins/pins_5DPRINT.h Vedi File

@@ -140,4 +140,4 @@
140 140
 #define SDSS               20   // B0
141 141
 
142 142
 //DIGIPOTS slave addresses
143
-#define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for DIGIPOT 0x2C (0x58 <- 0x2C << 1)
143
+#define DIGIPOT_I2C_ADDRESS_A 0x2C   // unshifted slave address for DIGIPOT 0x2C (0x58 <- 0x2C << 1)

+ 48
- 48
Marlin/src/pins/pins_ALLIGATOR_R2.h Vedi File

@@ -42,51 +42,51 @@
42 42
 //
43 43
 // Limit Switches
44 44
 //
45
-#define X_MIN_PIN             33 // PC1
46
-#define X_MAX_PIN             34 // PC2
47
-#define Y_MIN_PIN             35 // PC3
48
-#define Y_MAX_PIN             37 // PC5
49
-#define Z_MIN_PIN             38 // PC6
50
-#define Z_MAX_PIN             39 // PC7
45
+#define X_MIN_PIN             33   // PC1
46
+#define X_MAX_PIN             34   // PC2
47
+#define Y_MIN_PIN             35   // PC3
48
+#define Y_MAX_PIN             37   // PC5
49
+#define Z_MIN_PIN             38   // PC6
50
+#define Z_MAX_PIN             39   // PC7
51 51
 
52 52
 //
53 53
 // Steppers
54 54
 //
55
-#define X_STEP_PIN            96 // PB24
56
-#define X_DIR_PIN              2 // PB25
57
-#define X_ENABLE_PIN          24 // PA15, motor RESET pin
55
+#define X_STEP_PIN            96   // PB24
56
+#define X_DIR_PIN              2   // PB25
57
+#define X_ENABLE_PIN          24   // PA15, motor RESET pin
58 58
 
59
-#define Y_STEP_PIN            94 // PB22
60
-#define Y_DIR_PIN             95 // PB23
61
-#define Y_ENABLE_PIN          24 // PA15, motor RESET pin
59
+#define Y_STEP_PIN            94   // PB22
60
+#define Y_DIR_PIN             95   // PB23
61
+#define Y_ENABLE_PIN          24   // PA15, motor RESET pin
62 62
 
63
-#define Z_STEP_PIN            98 // PC27
64
-#define Z_DIR_PIN              3 // PC28
65
-#define Z_ENABLE_PIN          24 // PA15, motor RESET pin
63
+#define Z_STEP_PIN            98   // PC27
64
+#define Z_DIR_PIN              3   // PC28
65
+#define Z_ENABLE_PIN          24   // PA15, motor RESET pin
66 66
 
67
-#define E0_STEP_PIN            5 // PC25
68
-#define E0_DIR_PIN             4 // PC26
69
-#define E0_ENABLE_PIN         24 // PA15, motor RESET pin
67
+#define E0_STEP_PIN            5   // PC25
68
+#define E0_DIR_PIN             4   // PC26
69
+#define E0_ENABLE_PIN         24   // PA15, motor RESET pin
70 70
 
71
-#define E1_STEP_PIN           28 // PD3 on piggy
72
-#define E1_DIR_PIN            27 // PD2 on piggy
73
-#define E1_ENABLE_PIN         24 // PA15, motor RESET pin
71
+#define E1_STEP_PIN           28   // PD3 on piggy
72
+#define E1_DIR_PIN            27   // PD2 on piggy
73
+#define E1_ENABLE_PIN         24   // PA15, motor RESET pin
74 74
 
75
-#define E2_STEP_PIN           11 // PD7 on piggy
76
-#define E2_DIR_PIN            29 // PD6 on piggy
77
-#define E2_ENABLE_PIN         24 // PA15, motor RESET pin
75
+#define E2_STEP_PIN           11   // PD7 on piggy
76
+#define E2_DIR_PIN            29   // PD6 on piggy
77
+#define E2_ENABLE_PIN         24   // PA15, motor RESET pin
78 78
 
79
-#define E3_STEP_PIN           30 // PD9 on piggy
80
-#define E3_DIR_PIN            12 // PD8 on piggy
81
-#define E3_ENABLE_PIN         24 // PA15, motor RESET pin
79
+#define E3_STEP_PIN           30   // PD9 on piggy
80
+#define E3_DIR_PIN            12   // PD8 on piggy
81
+#define E3_ENABLE_PIN         24   // PA15, motor RESET pin
82 82
 
83 83
 // Microstepping pins - Mapping not from fastio.h (?)
84
-#define X_MS1_PIN             99 // PC10
85
-#define Y_MS1_PIN             10 // PC29
86
-#define Z_MS1_PIN             44 // PC19
87
-#define E0_MS1_PIN            45 // PC18
84
+#define X_MS1_PIN             99   // PC10
85
+#define Y_MS1_PIN             10   // PC29
86
+#define Z_MS1_PIN             44   // PC19
87
+#define E0_MS1_PIN            45   // PC18
88 88
 
89
-//#define MOTOR_FAULT_PIN     22 // PB26 , motor X-Y-Z-E0 motor FAULT
89
+//#define MOTOR_FAULT_PIN     22   // PB26 , motor X-Y-Z-E0 motor FAULT
90 90
 
91 91
 //
92 92
 // Temperature Sensors
@@ -101,41 +101,41 @@
101 101
 // Heaters / Fans
102 102
 //
103 103
 // Note that on the Due pin A0 on the board is channel 2 on the ARM chip
104
-#define HEATER_0_PIN          68 // PA1
105
-#define HEATER_1_PIN           8 // PC22 on piggy
106
-#define HEATER_2_PIN           9 // PC21 on piggy
107
-#define HEATER_3_PIN          97 // PC20 on piggy
108
-#define HEATER_BED_PIN        69 // PA0
104
+#define HEATER_0_PIN          68   // PA1
105
+#define HEATER_1_PIN           8   // PC22 on piggy
106
+#define HEATER_2_PIN           9   // PC21 on piggy
107
+#define HEATER_3_PIN          97   // PC20 on piggy
108
+#define HEATER_BED_PIN        69   // PA0
109 109
 
110
-#define FAN_PIN               92 // PA5
111
-#define FAN1_PIN              31 // PA7
110
+#define FAN_PIN               92   // PA5
111
+#define FAN1_PIN              31   // PA7
112 112
 
113 113
 //
114 114
 // Misc. Functions
115 115
 //
116
-#define SDSS                  77 // PA28
117
-#define SD_DETECT_PIN         87 // PA29
118
-#define LED_RED_PIN           40 // PC8
119
-#define LED_GREEN_PIN         41 // PC9
116
+#define SDSS                  77   // PA28
117
+#define SD_DETECT_PIN         87   // PA29
118
+#define LED_RED_PIN           40   // PC8
119
+#define LED_GREEN_PIN         41   // PC9
120 120
 
121 121
 #define EXP_VOLTAGE_LEVEL_PIN 65
122 122
 
123 123
 #define SPI_CHAN_DAC           1
124 124
 
125
-#define DAC0_SYNC             53 // PB14
126
-#define DAC1_SYNC              6 // PC24
125
+#define DAC0_SYNC             53   // PB14
126
+#define DAC1_SYNC              6   // PC24
127 127
 
128 128
 // 64K SPI EEPROM
129 129
 #define SPI_EEPROM
130 130
 #define SPI_CHAN_EEPROM1       2
131
-#define SPI_EEPROM1_CS        25 // PD0
131
+#define SPI_EEPROM1_CS        25   // PD0
132 132
 
133 133
 // 2K SPI EEPROM
134
-#define SPI_EEPROM2_CS        26 // PD1
134
+#define SPI_EEPROM2_CS        26   // PD1
135 135
 
136 136
 // FLASH SPI
137 137
 // 32Mb
138
-#define SPI_FLASH_CS          23 // PA14
138
+#define SPI_FLASH_CS          23   // PA14
139 139
 
140 140
 //
141 141
 // LCD / Controller

+ 7
- 7
Marlin/src/pins/pins_ANET_10.h Vedi File

@@ -125,14 +125,14 @@
125 125
 //
126 126
 // Temperature Sensors
127 127
 //
128
-#define TEMP_0_PIN          7  // Analog Input (pin 33 extruder)
129
-#define TEMP_BED_PIN        6  // Analog Input (pin 34 bed)
128
+#define TEMP_0_PIN          7   // Analog Input (pin 33 extruder)
129
+#define TEMP_BED_PIN        6   // Analog Input (pin 34 bed)
130 130
 
131 131
 //
132 132
 // Heaters / Fans
133 133
 //
134
-#define HEATER_0_PIN       13  // (extruder)
135
-#define HEATER_BED_PIN     12  // (bed)
134
+#define HEATER_0_PIN       13   // (extruder)
135
+#define HEATER_BED_PIN     12   // (bed)
136 136
 #define FAN_PIN             4
137 137
 
138 138
 //
@@ -153,7 +153,7 @@
153 153
 #if ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)
154 154
   #define LCD_SDSS           28
155 155
   #if ENABLED(ADC_KEYPAD)
156
-    #define SERVO0_PIN       27 // free for BLTouch/3D-Touch
156
+    #define SERVO0_PIN       27   // free for BLTouch/3D-Touch
157 157
     #define LCD_PINS_RS      28
158 158
     #define LCD_PINS_ENABLE  29
159 159
     #define LCD_PINS_D4      10
@@ -168,7 +168,7 @@
168 168
     // Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics
169 169
     // display using an adapter board  // https://go.aisler.net/benlye/anet-lcd-adapter/pcb
170 170
     // See below for alternative pin definitions for use with https://www.thingiverse.com/thing:2103748
171
-    #define SERVO0_PIN       29 // free for BLTouch/3D-Touch
171
+    #define SERVO0_PIN       29   // free for BLTouch/3D-Touch
172 172
     #define BEEPER_PIN       17
173 173
     #define LCD_PINS_RS      27
174 174
     #define LCD_PINS_ENABLE  28
@@ -201,7 +201,7 @@
201 201
  * published by oderwat on Thingiverse at https://www.thingiverse.com/thing:2103748.
202 202
  *
203 203
  * Using that adapter requires changing the pin definition as follows:
204
- *   #define SERVO0_PIN        27 // free for BLTouch/3D-Touch
204
+ *   #define SERVO0_PIN        27   // free for BLTouch/3D-Touch
205 205
  *   #define BEEPER_PIN        28
206 206
  *   #define LCD_PINS_RS       30
207 207
  *   #define LCD_PINS_ENABLE   29

+ 3
- 3
Marlin/src/pins/pins_AZSMZ_MINI.h Vedi File

@@ -72,9 +72,9 @@
72 72
 // Temperature Sensors
73 73
 //  3.3V max when defined as an analog input
74 74
 //
75
-#define TEMP_0_PIN          0  // A0 (TH1)
76
-#define TEMP_BED_PIN        1  // A1 (TH2)
77
-#define TEMP_1_PIN          2  // A2 (TH3)
75
+#define TEMP_0_PIN          0   // A0 (TH1)
76
+#define TEMP_BED_PIN        1   // A1 (TH2)
77
+#define TEMP_1_PIN          2   // A2 (TH3)
78 78
 
79 79
 //
80 80
 // Heaters / Fans

+ 7
- 7
Marlin/src/pins/pins_AZTEEG_X3.h Vedi File

@@ -32,8 +32,8 @@
32 32
   #error "Azteeg X3 supports up to 2 hotends / E-steppers. Comment out this line to continue."
33 33
 #endif
34 34
 
35
-#if ENABLED(CASE_LIGHT_ENABLE)  && !PIN_EXISTS(CASE_LIGHT)
36
-  #define CASE_LIGHT_PIN 6     // must define it here or else RAMPS will define it
35
+#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
36
+  #define CASE_LIGHT_PIN    6   // Define before RAMPS pins include
37 37
 #endif
38 38
 #define BOARD_NAME "Azteeg X3"
39 39
 
@@ -44,8 +44,8 @@
44 44
 //
45 45
 #undef SERVO0_PIN
46 46
 #undef SERVO1_PIN
47
-#define SERVO0_PIN  44  // SERVO1 port
48
-#define SERVO1_PIN  55  // SERVO2 port
47
+#define SERVO0_PIN         44   // SERVO1 port
48
+#define SERVO1_PIN         55   // SERVO2 port
49 49
 
50 50
 //
51 51
 // LCD / Controller
@@ -91,9 +91,9 @@
91 91
   #undef SCL
92 92
   #if SERVO0_PIN == 7
93 93
     #undef SERVO0_PIN
94
-    #def SERVO0_PIN 11
94
+    #define SERVO0_PIN     11
95 95
   #endif
96
-  #define SPINDLE_LASER_PWM_PIN     7  // MUST BE HARDWARE PWM
97
-  #define SPINDLE_LASER_ENABLE_PIN 20  // Pin should have a pullup!
96
+  #define SPINDLE_LASER_PWM_PIN     7   // MUST BE HARDWARE PWM
97
+  #define SPINDLE_LASER_ENABLE_PIN 20   // Pin should have a pullup!
98 98
   #define SPINDLE_DIR_PIN          21
99 99
 #endif

+ 14
- 15
Marlin/src/pins/pins_AZTEEG_X3_PRO.h Vedi File

@@ -28,11 +28,10 @@
28 28
   #error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
29 29
 #endif
30 30
 
31
-#if ENABLED(CASE_LIGHT_ENABLE)  && !PIN_EXISTS(CASE_LIGHT)
32
-  #define CASE_LIGHT_PIN 44     // must define it here or else RAMPS will define it
31
+#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
32
+  #define CASE_LIGHT_PIN 44     // Define before RAMPS pins include
33 33
 #endif
34 34
 
35
-
36 35
 #define BOARD_NAME "Azteeg X3 Pro"
37 36
 
38 37
 #include "pins_RAMPS.h"
@@ -42,8 +41,8 @@
42 41
 #endif
43 42
 
44 43
 // DIGIPOT slave addresses
45
-#define DIGIPOT_I2C_ADDRESS_A 0x2C  // unshifted slave address for first DIGIPOT 0x2C (0x58 <- 0x2C << 1)
46
-#define DIGIPOT_I2C_ADDRESS_B 0x2E  // unshifted slave address for second DIGIPOT 0x2E (0x5C <- 0x2E << 1)
44
+#define DIGIPOT_I2C_ADDRESS_A 0x2C   // unshifted slave address for first DIGIPOT 0x2C (0x58 <- 0x2C << 1)
45
+#define DIGIPOT_I2C_ADDRESS_B 0x2E   // unshifted slave address for second DIGIPOT 0x2E (0x5C <- 0x2E << 1)
47 46
 
48 47
 //
49 48
 // Servos
@@ -118,10 +117,10 @@
118 117
 #define HEATER_7_PIN       11
119 118
 
120 119
 #undef FAN_PIN
121
-#define FAN_PIN             6 // Part Cooling System
120
+#define FAN_PIN             6   // Part Cooling System
122 121
 
123 122
 #ifndef CONTROLLER_FAN_PIN
124
-  #define CONTROLLER_FAN_PIN 4 // Pin used for the fan to cool motherboard (-1 to disable)
123
+  #define CONTROLLER_FAN_PIN 4   // Pin used for the fan to cool motherboard (-1 to disable)
125 124
 #endif
126 125
 
127 126
 // Fans/Water Pump to cool the hotend cool side.
@@ -140,7 +139,7 @@
140 139
   #undef SD_DETECT_PIN
141 140
   #define SD_DETECT_PIN    49   // For easy adapter board
142 141
   #undef BEEPER_PIN
143
-  #define BEEPER_PIN       12   // 33 isn't physically available to the LCD display
142
+  #define  BEEPER_PIN      12   // 33 isn't physically available to the LCD display
144 143
 #else
145 144
   #define STAT_LED_RED_PIN  32
146 145
   #define STAT_LED_BLUE_PIN 35
@@ -150,9 +149,9 @@
150 149
 // Misc. Functions
151 150
 //
152 151
 #if ENABLED(CASE_LIGHT_ENABLE)  && PIN_EXISTS(CASE_LIGHT) && defined(DOGLCD_A0) && DOGLCD_A0 == CASE_LIGHT_PIN
153
-  #undef DOGLCD_A0            // Steal pin 44 for the case light; if you have a Viki2 and have connected it
154
-  #define DOGLCD_A0        57 // following the Panucatt wiring diagram, you may need to tweak these pin assignments
155
-                              // as the wiring diagram uses pin 44 for DOGLCD_A0
152
+  #undef DOGLCD_A0              // Steal pin 44 for the case light; if you have a Viki2 and have connected it
153
+  #define DOGLCD_A0        57   // following the Panucatt wiring diagram, you may need to tweak these pin assignments
154
+                                // as the wiring diagram uses pin 44 for DOGLCD_A0
156 155
 #endif
157 156
 
158 157
 //
@@ -162,13 +161,13 @@
162 161
 #undef SPINDLE_LASER_ENABLE_PIN
163 162
 #undef SPINDLE_DIR_PIN
164 163
 
165
-#if ENABLED(SPINDLE_LASER_ENABLE)   // use EXP2 header
164
+#if ENABLED(SPINDLE_LASER_ENABLE)   // EXP2 header
166 165
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
167 166
     #undef BTN_EN2
168
-    #define BTN_EN2             31  // need 7 for the spindle speed PWM
167
+    #define BTN_EN2             31   // need 7 for the spindle speed PWM
169 168
   #endif
170
-  #define SPINDLE_LASER_PWM_PIN     7  // must have a hardware PWM
171
-  #define SPINDLE_LASER_ENABLE_PIN 20  // Pin should have a pullup!
169
+  #define SPINDLE_LASER_PWM_PIN     7   // must have a hardware PWM
170
+  #define SPINDLE_LASER_ENABLE_PIN 20   // Pin should have a pullup!
172 171
   #define SPINDLE_DIR_PIN          21
173 172
 #endif
174 173
 

+ 4
- 4
Marlin/src/pins/pins_AZTEEG_X5_GT.h Vedi File

@@ -73,9 +73,9 @@
73 73
 // Temperature Sensors
74 74
 // 3.3V max when defined as an analog input
75 75
 //
76
-#define TEMP_BED_PIN        0  // A0 (TH1)
77
-#define TEMP_0_PIN          1  // A1 (TH2)
78
-#define TEMP_1_PIN          2  // A2 (TH3)
76
+#define TEMP_BED_PIN        0   // A0 (TH1)
77
+#define TEMP_0_PIN          1   // A1 (TH2)
78
+#define TEMP_1_PIN          2   // A2 (TH3)
79 79
 
80 80
 
81 81
 //
@@ -101,7 +101,7 @@
101 101
     #define BTN_EN2           P3_26
102 102
     #define BTN_ENC           P2_11
103 103
 
104
-    #define SD_DETECT_PIN     -1 // Pin 49 for display sd interface, 72 for easy adapter board
104
+    #define SD_DETECT_PIN     -1   // Pin 49 for display sd interface, 72 for easy adapter board
105 105
 
106 106
     #define KILL_PIN          -1
107 107
 

+ 2
- 2
Marlin/src/pins/pins_BAM_DICE_DUE.h Vedi File

@@ -33,9 +33,9 @@
33 33
 //
34 34
 // M3/M4/M5 - Spindle/Laser Control
35 35
 //
36
-#define SPINDLE_LASER_ENABLE_PIN 66  // Pin should have a pullup/pulldown!
36
+#define SPINDLE_LASER_ENABLE_PIN 66   // Pin should have a pullup/pulldown!
37 37
 #define SPINDLE_DIR_PIN          67
38
-#define SPINDLE_LASER_PWM_PIN    44  // MUST BE HARDWARE PWM
38
+#define SPINDLE_LASER_PWM_PIN    44   // MUST BE HARDWARE PWM
39 39
 
40 40
 #include "pins_RAMPS.h"
41 41
 

+ 12
- 12
Marlin/src/pins/pins_BEAST.h Vedi File

@@ -95,7 +95,7 @@
95 95
 //
96 96
 // Heaters / Fans
97 97
 //
98
-#define HEATER_0_PIN       PD12  // EXTRUDER 1
98
+#define HEATER_0_PIN       PD12   // EXTRUDER 1
99 99
 #define HEATER_1_PIN       PD13
100 100
 #define HEATER_2_PIN       PD14
101 101
 
@@ -121,9 +121,9 @@
121 121
 #if ENABLED(ULTRA_LCD)
122 122
 
123 123
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
124
-    #define LCD_PINS_RS         49 // CS chip select /SS chip slave select
125
-    #define LCD_PINS_ENABLE     51 // SID (MOSI)
126
-    #define LCD_PINS_D4         52 // SCK (CLK) clock
124
+    #define LCD_PINS_RS         49   // CS chip select /SS chip slave select
125
+    #define LCD_PINS_ENABLE     51   // SID (MOSI)
126
+    #define LCD_PINS_D4         52   // SCK (CLK) clock
127 127
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
128 128
     #define LCD_PINS_RS         PB8
129 129
     #define LCD_PINS_ENABLE     PD2
@@ -184,8 +184,8 @@
184 184
 
185 185
     #elif ENABLED(LCD_I2C_VIKI)
186 186
 
187
-      #define BTN_EN1           22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
188
-      #define BTN_EN2            7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
187
+      #define BTN_EN1           22   // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
188
+      #define BTN_EN2            7   // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
189 189
 
190 190
       #define BTN_ENC           -1
191 191
       #define LCD_SDSS          53
@@ -205,7 +205,7 @@
205 205
       #define BTN_ENC           39
206 206
 
207 207
       #define SDSS              53
208
-      #define SD_DETECT_PIN     -1 // Pin 49 for display sd interface, 72 for easy adapter board
208
+      #define SD_DETECT_PIN     -1   // Pin 49 for display sd interface, 72 for easy adapter board
209 209
 
210 210
       #define KILL_PIN          31
211 211
 
@@ -231,7 +231,7 @@
231 231
       // Pins for DOGM SPI LCD Support
232 232
       #define DOGLCD_A0         44
233 233
       #define DOGLCD_CS         66
234
-      #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
234
+      #define LCD_BACKLIGHT_PIN 65   // backlight LED on A11/D65
235 235
       #define SDSS              53
236 236
 
237 237
       #define KILL_PIN          64
@@ -262,9 +262,9 @@
262 262
         #define SHIFT_CLK       44
263 263
         #define SHIFT_LD        42
264 264
       #elif ENABLED(PANEL_ONE)
265
-        #define BTN_EN1         59 // AUX2 PIN 3
266
-        #define BTN_EN2         63 // AUX2 PIN 4
267
-        #define BTN_ENC         49 // AUX3 PIN 7
265
+        #define BTN_EN1         59   // AUX2 PIN 3
266
+        #define BTN_EN2         63   // AUX2 PIN 4
267
+        #define BTN_ENC         49   // AUX3 PIN 7
268 268
       #else
269 269
         #define BTN_EN1         37
270 270
         #define BTN_EN2         35
@@ -275,7 +275,7 @@
275 275
         #define SD_DETECT_PIN   49
276 276
         #define KILL_PIN        41
277 277
       #else
278
-        //#define SD_DETECT_PIN -1 // Ramps doesn't use this
278
+        //#define SD_DETECT_PIN -1   // Ramps doesn't use this
279 279
       #endif
280 280
 
281 281
     #endif

+ 22
- 22
Marlin/src/pins/pins_BIQU_BQ111_A4.h Vedi File

@@ -41,12 +41,12 @@
41 41
 //
42 42
 // Limit Switches
43 43
 //
44
-#define X_MIN_PIN         P1_24  //10k pullup to 3.3V, 1K series
45
-#define X_MAX_PIN         P1_25  //10k pullup to 3.3V, 1K series
46
-#define Y_MIN_PIN         P1_26  //10k pullup to 3.3V, 1K series
47
-#define Y_MAX_PIN         P1_27  //10k pullup to 3.3V, 1K series
48
-#define Z_MIN_PIN         P1_28  //10k pullup to 3.3V, 1K series
49
-#define Z_MAX_PIN         P1_29  //10k pullup to 3.3V, 1K series
44
+#define X_MIN_PIN         P1_24   // 10k pullup to 3.3V, 1K series
45
+#define X_MAX_PIN         P1_25   // 10k pullup to 3.3V, 1K series
46
+#define Y_MIN_PIN         P1_26   // 10k pullup to 3.3V, 1K series
47
+#define Y_MAX_PIN         P1_27   // 10k pullup to 3.3V, 1K series
48
+#define Z_MIN_PIN         P1_28   // 10k pullup to 3.3V, 1K series
49
+#define Z_MAX_PIN         P1_29   // 10k pullup to 3.3V, 1K series
50 50
 
51 51
 
52 52
 //
@@ -73,8 +73,8 @@
73 73
 // Temperature Sensors
74 74
 //  3.3V max when defined as an analog input
75 75
 //
76
-#define TEMP_0_PIN          0  // A0 (T0)
77
-#define TEMP_BED_PIN        1  // A1 (T1)
76
+#define TEMP_0_PIN          0   // A0 (T0)
77
+#define TEMP_BED_PIN        1   // A1 (T1)
78 78
 
79 79
 
80 80
 //
@@ -87,8 +87,8 @@
87 87
 //
88 88
 // Unused
89 89
 //
90
-//#define PIN_P2_10         P2_10  // IBOOT-1
91
-//#define PIN_P0_27         P0_27  // Onboard SD Detect
90
+//#define PIN_P2_10         P2_10   // IBOOT-1
91
+//#define PIN_P0_27         P0_27   // Onboard SD Detect
92 92
 
93 93
 /**
94 94
  * LCD / Controller
@@ -102,16 +102,16 @@
102 102
  */
103 103
 #if ENABLED(ULTRA_LCD)
104 104
 
105
-  #define BEEPER_PIN          P1_31  // EXP1-1
105
+  #define BEEPER_PIN          P1_31   // EXP1-1
106 106
 
107
-  #define BTN_EN1             P3_26  // EXP2-3
108
-  #define BTN_EN2             P3_25  // EXP2-5
109
-  #define BTN_ENC             P1_30  // EXP1-2
107
+  #define BTN_EN1             P3_26   // EXP2-3
108
+  #define BTN_EN2             P3_25   // EXP2-5
109
+  #define BTN_ENC             P1_30   // EXP1-2
110 110
 
111
-  #define SD_DETECT_PIN       P0_27  // EXP2-7
112
-  #define LCD_PINS_RS         P0_16  // EXP1-4
113
-  #define LCD_PINS_ENABLE     P0_18  // (MOSI) EXP1-3
114
-  #define LCD_PINS_D4         P0_15  // (SCK)  EXP1-5
111
+  #define SD_DETECT_PIN       P0_27   // EXP2-7
112
+  #define LCD_PINS_RS         P0_16   // EXP1-4
113
+  #define LCD_PINS_ENABLE     P0_18   // (MOSI) EXP1-3
114
+  #define LCD_PINS_D4         P0_15   // (SCK)  EXP1-5
115 115
 
116 116
   #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) && !ENABLED(DOGLCD)
117 117
     #error "REPRAP_DISCOUNT_SMART_CONTROLLER is not supported by the BIQU BQ111-A4"
@@ -132,10 +132,10 @@
132 132
  */
133 133
 #if ENABLED(SDSUPPORT)
134 134
 
135
-  #define SCK_PIN   P0_15 // EXP1-5
136
-  #define MISO_PIN  P0_16 // EXP1-4
137
-  #define MOSI_PIN  P0_18 // EXP1-3
138
-  #define SS_PIN    P1_30 // EXP1-2
135
+  #define SCK_PIN   P0_15   // EXP1-5
136
+  #define MISO_PIN  P0_16   // EXP1-4
137
+  #define MOSI_PIN  P0_18   // EXP1-3
138
+  #define SS_PIN    P1_30   // EXP1-2
139 139
   #define SDSS      SS_PIN
140 140
 
141 141
 #endif // SDSUPPORT

+ 10
- 10
Marlin/src/pins/pins_BQ_ZUM_MEGA_3D.h Vedi File

@@ -49,13 +49,13 @@
49 49
 //
50 50
 // Misc. Functions
51 51
 //
52
-#define CASE_LIGHT_PIN   44     // MUST BE HARDWARE PWM
52
+#define CASE_LIGHT_PIN     44   // MUST BE HARDWARE PWM
53 53
 
54 54
 //
55 55
 // M3/M4/M5 - Spindle/Laser Control
56 56
 //
57
-#define SPINDLE_LASER_ENABLE_PIN 40  // Pin should have a pullup/pulldown!
58
-#define SPINDLE_LASER_PWM_PIN    44  // MUST BE HARDWARE PWM
57
+#define SPINDLE_LASER_ENABLE_PIN 40   // Pin should have a pullup/pulldown!
58
+#define SPINDLE_LASER_PWM_PIN    44   // MUST BE HARDWARE PWM
59 59
 #define SPINDLE_DIR_PIN          42
60 60
 
61 61
 #include "pins_RAMPS_13.h"
@@ -64,16 +64,16 @@
64 64
 // Limit Switches
65 65
 //
66 66
 #undef X_MAX_PIN
67
-#define X_MAX_PIN         79 // 2
67
+#define X_MAX_PIN         79   // 2
68 68
 
69 69
 //
70 70
 // Z Probe (when not Z_MIN_PIN)
71 71
 //
72 72
 #undef Z_MIN_PROBE_PIN
73
-#define Z_MIN_PROBE_PIN   19 // IND_S_5V
73
+#define Z_MIN_PROBE_PIN   19   // IND_S_5V
74 74
 
75 75
 #undef Z_ENABLE_PIN
76
-#define Z_ENABLE_PIN      77 // 62
76
+#define Z_ENABLE_PIN      77   // 62
77 77
 
78 78
 //
79 79
 // Steppers
@@ -93,8 +93,8 @@
93 93
 //
94 94
 // Misc. Functions
95 95
 //
96
-#undef PS_ON_PIN             // 12
97
-#define PS_ON_PIN         81 // External Power Supply
96
+#undef PS_ON_PIN               // 12
97
+#define PS_ON_PIN         81   // External Power Supply
98 98
 
99 99
 
100 100
 // This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team
@@ -104,8 +104,8 @@
104 104
 #ifdef Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
105 105
   #undef Z_MIN_PIN
106 106
   #undef Z_MAX_PIN
107
-  #define Z_MIN_PIN       19 // IND_S_5V
108
-  #define Z_MAX_PIN       18 // Z-MIN Label
107
+  #define Z_MIN_PIN       19   // IND_S_5V
108
+  #define Z_MAX_PIN       18   // Z-MIN Label
109 109
 #endif
110 110
 
111 111
 

+ 0
- 0
Marlin/src/pins/pins_BRAINWAVE.h Vedi File


+ 0
- 0
Marlin/src/pins/pins_BRAINWAVE_PRO.h Vedi File


+ 2
- 2
Marlin/src/pins/pins_CHEAPTRONIC.h Vedi File

@@ -69,8 +69,8 @@
69 69
 //
70 70
 // Heaters / Fans
71 71
 //
72
-#define HEATER_0_PIN       19 // EXTRUDER 1
73
-#define HEATER_1_PIN       23 // EXTRUDER 2
72
+#define HEATER_0_PIN       19   // EXTRUDER 1
73
+#define HEATER_1_PIN       23   // EXTRUDER 2
74 74
 #define HEATER_BED_PIN     22
75 75
 
76 76
 //

+ 12
- 12
Marlin/src/pins/pins_CHITU3D.h Vedi File

@@ -21,7 +21,7 @@
21 21
  */
22 22
 
23 23
 #if !defined(__STM32F1__) && !defined(__STM32F4__)
24
-    #error "Oops!  Make sure you have an STM32F1/4 board selected from the 'Tools -> Boards' menu."
24
+  #error "Oops!  Make sure you have an STM32F1/4 board selected from the 'Tools -> Boards' menu."
25 25
 #endif
26 26
 
27 27
 /**
@@ -120,9 +120,9 @@
120 120
 #if ENABLED(ULTRA_LCD)
121 121
 
122 122
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
123
-    #define LCD_PINS_RS         49 // CS chip select /SS chip slave select
124
-    #define LCD_PINS_ENABLE     51 // SID (MOSI)
125
-    #define LCD_PINS_D4         52 // SCK (CLK) clock
123
+    #define LCD_PINS_RS         49   // CS chip select /SS chip slave select
124
+    #define LCD_PINS_ENABLE     51   // SID (MOSI)
125
+    #define LCD_PINS_D4         52   // SCK (CLK) clock
126 126
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
127 127
     #define LCD_PINS_RS         PB8
128 128
     #define LCD_PINS_ENABLE     PD2
@@ -183,8 +183,8 @@
183 183
 
184 184
     #elif ENABLED(LCD_I2C_VIKI)
185 185
 
186
-      #define BTN_EN1           22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
187
-      #define BTN_EN2            7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
186
+      #define BTN_EN1           22   // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
187
+      #define BTN_EN2            7   // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
188 188
 
189 189
       #define BTN_ENC           -1
190 190
       #define LCD_SDSS          53
@@ -204,7 +204,7 @@
204 204
       #define BTN_ENC           39
205 205
 
206 206
       #define SDSS              53
207
-      #define SD_DETECT_PIN     -1 // Pin 49 for display sd interface, 72 for easy adapter board
207
+      #define SD_DETECT_PIN     -1   // Pin 49 for display sd interface, 72 for easy adapter board
208 208
 
209 209
       #define KILL_PIN          31
210 210
 
@@ -229,7 +229,7 @@
229 229
       // Pins for DOGM SPI LCD Support
230 230
       #define DOGLCD_A0         44
231 231
       #define DOGLCD_CS         66
232
-      #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
232
+      #define LCD_BACKLIGHT_PIN 65   // backlight LED on A11/D65
233 233
       #define SDSS              53
234 234
 
235 235
       #define KILL_PIN          64
@@ -260,9 +260,9 @@
260 260
         #define SHIFT_CLK       44
261 261
         #define SHIFT_LD        42
262 262
       #elif ENABLED(PANEL_ONE)
263
-        #define BTN_EN1         59 // AUX2 PIN 3
264
-        #define BTN_EN2         63 // AUX2 PIN 4
265
-        #define BTN_ENC         49 // AUX3 PIN 7
263
+        #define BTN_EN1         59   // AUX2 PIN 3
264
+        #define BTN_EN2         63   // AUX2 PIN 4
265
+        #define BTN_ENC         49   // AUX3 PIN 7
266 266
       #else
267 267
         #define BTN_EN1         37
268 268
         #define BTN_EN2         35
@@ -273,7 +273,7 @@
273 273
         #define SD_DETECT_PIN   49
274 274
         #define KILL_PIN        41
275 275
       #else
276
-        //#define SD_DETECT_PIN -1 // Ramps doesn't use this
276
+        //#define SD_DETECT_PIN -1   // Ramps doesn't use this
277 277
       #endif
278 278
 
279 279
     #endif

+ 2
- 2
Marlin/src/pins/pins_CNCONTROLS_11.h Vedi File

@@ -65,7 +65,7 @@
65 65
 #define HEATER_3_PIN       46
66 66
 #define HEATER_BED_PIN      2
67 67
 
68
-//#define FAN_PIN           7  // common PWM pin for all tools
68
+//#define FAN_PIN           7   // common PWM pin for all tools
69 69
 
70 70
 #define ORIG_E0_AUTO_FAN_PIN 7
71 71
 #define ORIG_E1_AUTO_FAN_PIN 7
@@ -84,7 +84,7 @@
84 84
 //#define TOOL_1_PIN          59
85 85
 //#define TOOL_2_PIN           8
86 86
 //#define TOOL_3_PIN          30
87
-//#define TOOL_PWM_PIN         7  // common PWM pin for all tools
87
+//#define TOOL_PWM_PIN         7   // common PWM pin for all tools
88 88
 
89 89
 // Common I/O
90 90
 

+ 4
- 4
Marlin/src/pins/pins_CNCONTROLS_12.h Vedi File

@@ -65,7 +65,7 @@
65 65
 #define HEATER_3_PIN        3
66 66
 #define HEATER_BED_PIN     24
67 67
 
68
-#define FAN_PIN             5  // 5 is PWMtool3 -> 7 is common PWM pin for all tools
68
+#define FAN_PIN             5   // 5 is PWMtool3 -> 7 is common PWM pin for all tools
69 69
 
70 70
 #define ORIG_E0_AUTO_FAN_PIN 7
71 71
 #define ORIG_E1_AUTO_FAN_PIN 7
@@ -81,9 +81,9 @@
81 81
 // Tools
82 82
 
83 83
 //#define TOOL_0_PIN         56
84
-//#define TOOL_0_PWM_PIN     10  // red warning led at dual extruder
84
+//#define TOOL_0_PWM_PIN     10   // red warning led at dual extruder
85 85
 //#define TOOL_1_PIN         59
86
-//#define TOOL_1_PWM_PIN      8  // lights at dual extruder
86
+//#define TOOL_1_PWM_PIN      8   // lights at dual extruder
87 87
 //#define TOOL_2_PIN          4
88 88
 //#define TOOL_2_PWM_PIN      5
89 89
 //#define TOOL_3_PIN         14
@@ -124,4 +124,4 @@
124 124
 //#define UI2              37
125 125
 
126 126
 #define STAT_LED_BLUE_PIN  -1
127
-#define STAT_LED_RED_PIN   10 // TOOL_0_PWM_PIN
127
+#define STAT_LED_RED_PIN   10   // TOOL_0_PWM_PIN

+ 31
- 31
Marlin/src/pins/pins_COHESION3D_MINI.h Vedi File

@@ -41,12 +41,12 @@
41 41
 //
42 42
 // Limit Switches
43 43
 //
44
-#define X_MIN_PIN           P1_24 // 10k pullup to 3.3V
45
-#define X_MAX_PIN           P1_25 // 10k pullup to 3.3V
46
-#define Y_MIN_PIN           P1_26 // 10k pullup to 3.3V
47
-#define Y_MAX_PIN           P1_27 // 10k pullup to 3.3V
48
-#define Z_MIN_PIN           P1_28 // 10k pullup to 3.3V
49
-#define Z_MAX_PIN           P1_29 // 10k pullup to 3.3V
44
+#define X_MIN_PIN           P1_24   // 10k pullup to 3.3V
45
+#define X_MAX_PIN           P1_25   // 10k pullup to 3.3V
46
+#define Y_MIN_PIN           P1_26   // 10k pullup to 3.3V
47
+#define Y_MAX_PIN           P1_27   // 10k pullup to 3.3V
48
+#define Z_MIN_PIN           P1_28   // 10k pullup to 3.3V
49
+#define Z_MAX_PIN           P1_29   // 10k pullup to 3.3V
50 50
 
51 51
 //
52 52
 // Steppers
@@ -54,35 +54,35 @@
54 54
 #define X_STEP_PIN          P2_00
55 55
 #define X_DIR_PIN           P0_05
56 56
 #define X_ENABLE_PIN        P0_04
57
-#define X_CS_PIN            P1_10 // Ethernet Expansion - Pin 9
57
+#define X_CS_PIN            P1_10   // Ethernet Expansion - Pin 9
58 58
 
59 59
 #define Y_STEP_PIN          P2_01
60 60
 #define Y_DIR_PIN           P0_11
61 61
 #define Y_ENABLE_PIN        P0_10
62
-#define Y_CS_PIN            P1_09 // Ethernet Expansion - Pin 10
62
+#define Y_CS_PIN            P1_09   // Ethernet Expansion - Pin 10
63 63
 
64 64
 #define Z_STEP_PIN          P2_02
65 65
 #define Z_DIR_PIN           P0_20
66 66
 #define Z_ENABLE_PIN        P0_19
67
-#define Z_CS_PIN            P1_00 // Ethernet Expansion - Pin 11
67
+#define Z_CS_PIN            P1_00   // Ethernet Expansion - Pin 11
68 68
 
69 69
 #define E0_STEP_PIN         P2_03
70 70
 #define E0_DIR_PIN          P0_22
71 71
 #define E0_ENABLE_PIN       P0_21
72
-#define E0_CS_PIN           P1_04 // Ethernet Expansion - Pin 12
72
+#define E0_CS_PIN           P1_04   // Ethernet Expansion - Pin 12
73 73
 
74 74
 //
75 75
 // Default pins for TMC software SPI
76 76
 //
77 77
 #if ENABLED(TMC_USE_SW_SPI)
78 78
   #ifndef TMC_SW_MOSI
79
-    #define TMC_SW_MOSI     P1_16 // Ethernet Expansion - Pin 5
79
+    #define TMC_SW_MOSI     P1_16   // Ethernet Expansion - Pin 5
80 80
   #endif
81 81
   #ifndef TMC_SW_MISO
82
-    #define TMC_SW_MISO     P1_17 // Ethernet Expansion - Pin 6
82
+    #define TMC_SW_MISO     P1_17   // Ethernet Expansion - Pin 6
83 83
   #endif
84 84
   #ifndef TMC_SW_SCK
85
-    #define TMC_SW_SCK      P1_08 // Ethernet Expansion - Pin 7
85
+    #define TMC_SW_SCK      P1_08   // Ethernet Expansion - Pin 7
86 86
   #endif
87 87
 #endif
88 88
 
@@ -90,16 +90,16 @@
90 90
 // Analog Inputs
91 91
 //  3.3V max when defined as an analog input
92 92
 //
93
-#define TEMP_0_PIN          0 // P0_23
94
-#define TEMP_BED_PIN        1 // P0_24
93
+#define TEMP_0_PIN          0   // P0_23
94
+#define TEMP_BED_PIN        1   // P0_24
95 95
 
96 96
 //
97 97
 // Heaters / Fans
98 98
 //
99 99
 #define HEATER_BED_PIN      P2_05
100
-#define HEATER_0_PIN        P2_07 // FET 1
101
-#define AUTO_FAN_PIN        P2_04 // FET 4
102
-#define FAN_PIN             P2_06 // ReMix FET 4, Mini FET 3
100
+#define HEATER_0_PIN        P2_07   // FET 1
101
+#define AUTO_FAN_PIN        P2_04   // FET 4
102
+#define FAN_PIN             P2_06   // ReMix FET 4, Mini FET 3
103 103
 
104 104
 //
105 105
 // Auto fans
@@ -111,18 +111,18 @@
111 111
 //
112 112
 // Misc. Functions
113 113
 //
114
-#define LED_PIN             P4_28 // Play LED
114
+#define LED_PIN             P4_28   // Play LED
115 115
 
116 116
 //
117 117
 // M3/M4/M5 - Spindle/Laser Control
118 118
 //
119 119
 #if ENABLED(SPINDLE_LASER_ENABLE)
120 120
   #undef HEATER_0_PIN
121
-  #define SPINDLE_LASER_ENABLE_PIN  P2_07 // FET 1
121
+  #define SPINDLE_LASER_ENABLE_PIN  P2_07   // FET 1
122 122
   #undef HEATER_BED_PIN
123
-  #define SPINDLE_LASER_PWM_PIN     P2_05 // Bed FET
123
+  #define SPINDLE_LASER_PWM_PIN     P2_05   // Bed FET
124 124
   #undef FAN_PIN
125
-  #define SPINDLE_DIR_PIN           P2_06 // ReMix FET 4, Mini FET 3
125
+  #define SPINDLE_DIR_PIN           P2_06   // ReMix FET 4, Mini FET 3
126 126
 #endif
127 127
 
128 128
 //
@@ -137,18 +137,18 @@
137 137
 //
138 138
 #if ENABLED(ULTRA_LCD)
139 139
 
140
-  #define BEEPER_PIN        P0_27 // EXP2-7 - open drain
140
+  #define BEEPER_PIN        P0_27   // EXP2-7 - open drain
141 141
 
142
-  #define BTN_EN1           P3_26 // EXP2-5
143
-  #define BTN_EN2           P3_25 // EXP2-3
144
-  #define BTN_ENC           P1_30 // EXP1-2
142
+  #define BTN_EN1           P3_26   // EXP2-5
143
+  #define BTN_EN2           P3_25   // EXP2-3
144
+  #define BTN_ENC           P1_30   // EXP1-2
145 145
 
146
-  #define LCD_PINS_RS       P0_16 // EXP1-4
147
-  #define LCD_SDSS          P0_28 // EXP2-4
148
-  #define LCD_PINS_ENABLE   P0_18 // EXP1-3
149
-  #define LCD_PINS_D4       P0_15 // EXP1-5
146
+  #define LCD_PINS_RS       P0_16   // EXP1-4
147
+  #define LCD_SDSS          P0_28   // EXP2-4
148
+  #define LCD_PINS_ENABLE   P0_18   // EXP1-3
149
+  #define LCD_PINS_D4       P0_15   // EXP1-5
150 150
 
151
-  #define KILL_PIN          P2_11 // EXP2-10
151
+  #define KILL_PIN          P2_11   // EXP2-10
152 152
 
153 153
   #if ENABLED(SDSUPPORT)
154 154
     #error "SDSUPPORT is not currently supported by the Cohesion3D boards"

+ 40
- 40
Marlin/src/pins/pins_COHESION3D_REMIX.h Vedi File

@@ -41,12 +41,12 @@
41 41
 //
42 42
 // Limit Switches
43 43
 //
44
-#define X_MIN_PIN           P1_24 // 10k pullup to 3.3V
45
-#define X_MAX_PIN           P1_25 // 10k pullup to 3.3V
46
-#define Y_MIN_PIN           P1_26 // 10k pullup to 3.3V
47
-#define Y_MAX_PIN           P1_27 // 10k pullup to 3.3V
48
-#define Z_MIN_PIN           P1_28 // 10k pullup to 3.3V
49
-#define Z_MAX_PIN           P1_29 // 10k pullup to 3.3V
44
+#define X_MIN_PIN           P1_24   // 10k pullup to 3.3V
45
+#define X_MAX_PIN           P1_25   // 10k pullup to 3.3V
46
+#define Y_MIN_PIN           P1_26   // 10k pullup to 3.3V
47
+#define Y_MAX_PIN           P1_27   // 10k pullup to 3.3V
48
+#define Z_MIN_PIN           P1_28   // 10k pullup to 3.3V
49
+#define Z_MAX_PIN           P1_29   // 10k pullup to 3.3V
50 50
 
51 51
 //
52 52
 // Steppers
@@ -54,45 +54,45 @@
54 54
 #define X_STEP_PIN          P2_00
55 55
 #define X_DIR_PIN           P0_05
56 56
 #define X_ENABLE_PIN        P0_04
57
-#define X_CS_PIN            P1_10 // Ethernet Expansion - Pin 9
57
+#define X_CS_PIN            P1_10   // Ethernet Expansion - Pin 9
58 58
 
59 59
 #define Y_STEP_PIN          P2_01
60 60
 #define Y_DIR_PIN           P0_11
61 61
 #define Y_ENABLE_PIN        P0_10
62
-#define Y_CS_PIN            P1_09 // Ethernet Expansion - Pin 10
62
+#define Y_CS_PIN            P1_09   // Ethernet Expansion - Pin 10
63 63
 
64 64
 #define Z_STEP_PIN          P2_02
65 65
 #define Z_DIR_PIN           P0_20
66 66
 #define Z_ENABLE_PIN        P0_19
67
-#define Z_CS_PIN            P1_00 // Ethernet Expansion - Pin 11
67
+#define Z_CS_PIN            P1_00   // Ethernet Expansion - Pin 11
68 68
 
69 69
 #define E0_STEP_PIN         P2_03
70 70
 #define E0_DIR_PIN          P0_22
71 71
 #define E0_ENABLE_PIN       P0_21
72
-#define E0_CS_PIN           P1_04 // Ethernet Expansion - Pin 12
72
+#define E0_CS_PIN           P1_04   // Ethernet Expansion - Pin 12
73 73
 
74 74
 #define E1_STEP_PIN         P2_08
75 75
 #define E1_DIR_PIN          P2_13
76 76
 #define E1_ENABLE_PIN       P4_29
77
-#define E1_CS_PIN           P1_01 // Ethernet Expansion - Pin 14
77
+#define E1_CS_PIN           P1_01   // Ethernet Expansion - Pin 14
78 78
 
79 79
 #define E2_STEP_PIN         P1_20
80 80
 #define E2_DIR_PIN          P1_19
81 81
 #define E2_ENABLE_PIN       P1_21
82
-#define E2_CS_PIN           P1_18 // FET 6
82
+#define E2_CS_PIN           P1_18   // FET 6
83 83
 
84 84
 //
85 85
 // Default pins for TMC software SPI
86 86
 //
87 87
 #if ENABLED(TMC_USE_SW_SPI)
88 88
   #ifndef TMC_SW_MOSI
89
-    #define TMC_SW_MOSI     P1_16 // Ethernet Expansion - Pin 5
89
+    #define TMC_SW_MOSI     P1_16   // Ethernet Expansion - Pin 5
90 90
   #endif
91 91
   #ifndef TMC_SW_MISO
92
-    #define TMC_SW_MISO     P1_17 // Ethernet Expansion - Pin 6
92
+    #define TMC_SW_MISO     P1_17   // Ethernet Expansion - Pin 6
93 93
   #endif
94 94
   #ifndef TMC_SW_SCK
95
-    #define TMC_SW_SCK      P1_08 // Ethernet Expansion - Pin 7
95
+    #define TMC_SW_SCK      P1_08   // Ethernet Expansion - Pin 7
96 96
   #endif
97 97
 #endif
98 98
 
@@ -100,28 +100,28 @@
100 100
 // Analog Inputs
101 101
 //  3.3V max when defined as an analog input
102 102
 //
103
-#define TEMP_0_PIN          0 // P0_23
104
-#define TEMP_BED_PIN        1 // P0_24
105
-#define TEMP_1_PIN          2 // P0_25
103
+#define TEMP_0_PIN          0   // P0_23
104
+#define TEMP_BED_PIN        1   // P0_24
105
+#define TEMP_1_PIN          2   // P0_25
106 106
 #if ENABLED(FILAMENT_WIDTH_SENSOR)
107
-  #define FILWIDTH_PIN      3 // P0_26
107
+  #define FILWIDTH_PIN      3   // P0_26
108 108
 #else
109
-  #define TEMP_2_PIN        3 // P0_26
109
+  #define TEMP_2_PIN        3   // P0_26
110 110
 #endif
111 111
 
112 112
 //
113 113
 // Heaters / Fans
114 114
 //
115 115
 #define HEATER_BED_PIN      P2_05
116
-#define HEATER_0_PIN        P2_07 // FET 1
117
-#define HEATER_1_PIN        P1_23 // FET 2
116
+#define HEATER_0_PIN        P2_07   // FET 1
117
+#define HEATER_1_PIN        P1_23   // FET 2
118 118
 #if HOTENDS == 3
119
-  #define HEATER_2_PIN      P1_22 // FET 3
120
-  #define AUTO_FAN_PIN      P1_18 // FET 6
119
+  #define HEATER_2_PIN      P1_22   // FET 3
120
+  #define AUTO_FAN_PIN      P1_18   // FET 6
121 121
 #else
122
-  #define AUTO_FAN_PIN      P1_22 // FET 3
122
+  #define AUTO_FAN_PIN      P1_22   // FET 3
123 123
 #endif
124
-#define FAN_PIN             P2_06 // ReMix FET 4, Mini FET 3
124
+#define FAN_PIN             P2_06   // ReMix FET 4, Mini FET 3
125 125
 
126 126
 //
127 127
 // Auto fans
@@ -133,18 +133,18 @@
133 133
 //
134 134
 // Misc. Functions
135 135
 //
136
-#define LED_PIN             P4_28 // Play LED
136
+#define LED_PIN             P4_28   // Play LED
137 137
 
138 138
 //
139 139
 // M3/M4/M5 - Spindle/Laser Control
140 140
 //
141 141
 #if ENABLED(SPINDLE_LASER_ENABLE)
142 142
   #undef HEATER_0_PIN
143
-  #define SPINDLE_LASER_ENABLE_PIN  P2_07 // FET 1
143
+  #define SPINDLE_LASER_ENABLE_PIN  P2_07   // FET 1
144 144
   #undef HEATER_BED_PIN
145
-  #define SPINDLE_LASER_PWM_PIN     P2_05 // Bed FET
145
+  #define SPINDLE_LASER_PWM_PIN     P2_05   // Bed FET
146 146
   #undef FAN_PIN
147
-  #define SPINDLE_DIR_PIN           P2_06 // ReMix FET 4, Mini FET 3
147
+  #define SPINDLE_DIR_PIN           P2_06   // ReMix FET 4, Mini FET 3
148 148
 #endif
149 149
 
150 150
 //
@@ -159,19 +159,19 @@
159 159
 //
160 160
 #if ENABLED(ULTRA_LCD)
161 161
 
162
-  #define BEEPER_PIN        P1_31 // EXP1-1
163
-  #define SD_DETECT_PIN     P0_27 // EXP2-7
162
+  #define BEEPER_PIN        P1_31   // EXP1-1
163
+  #define SD_DETECT_PIN     P0_27   // EXP2-7
164 164
 
165
-  #define BTN_EN1           P3_26 // EXP2-5
166
-  #define BTN_EN2           P3_25 // EXP2-3
167
-  #define BTN_ENC           P1_30 // EXP1-2
165
+  #define BTN_EN1           P3_26   // EXP2-5
166
+  #define BTN_EN2           P3_25   // EXP2-3
167
+  #define BTN_ENC           P1_30   // EXP1-2
168 168
 
169
-  #define LCD_PINS_RS       P0_16 // EXP1-4
170
-  #define LCD_SDSS          P0_28 // EXP2-4
171
-  #define LCD_PINS_ENABLE   P0_18 // EXP1-3
172
-  #define LCD_PINS_D4       P0_15 // EXP1-5
169
+  #define LCD_PINS_RS       P0_16   // EXP1-4
170
+  #define LCD_SDSS          P0_28   // EXP2-4
171
+  #define LCD_PINS_ENABLE   P0_18   // EXP1-3
172
+  #define LCD_PINS_D4       P0_15   // EXP1-5
173 173
 
174
-  #define KILL_PIN          P2_11 // EXP2-10
174
+  #define KILL_PIN          P2_11   // EXP2-10
175 175
 
176 176
   #if ENABLED(SDSUPPORT)
177 177
     #error "SDSUPPORT is not currently supported by the Cohesion3D boards"

+ 18
- 18
Marlin/src/pins/pins_DUE3DOM.h Vedi File

@@ -59,21 +59,21 @@
59 59
 #define Y_DIR_PIN          16
60 60
 #define Y_ENABLE_PIN       26
61 61
 
62
-#define Z_STEP_PIN         61 // Z1 STP
63
-#define Z_DIR_PIN          60 // Z1 DIR
64
-#define Z_ENABLE_PIN       15 // Z1 ENA
62
+#define Z_STEP_PIN         61   // Z1 STP
63
+#define Z_DIR_PIN          60   // Z1 DIR
64
+#define Z_ENABLE_PIN       15   // Z1 ENA
65 65
 
66
-#define E0_STEP_PIN        64 // Z2 STP
67
-#define E0_DIR_PIN         63 // Z2 DIR
68
-#define E0_ENABLE_PIN      62 // Z2 ENA
66
+#define E0_STEP_PIN        64   // Z2 STP
67
+#define E0_DIR_PIN         63   // Z2 DIR
68
+#define E0_ENABLE_PIN      62   // Z2 ENA
69 69
 
70
-#define E1_STEP_PIN        51 // E1 STP
71
-#define E1_DIR_PIN         53 // E1 DIR
72
-#define E1_ENABLE_PIN      65 // E1 ENA
70
+#define E1_STEP_PIN        51   // E1 STP
71
+#define E1_DIR_PIN         53   // E1 DIR
72
+#define E1_ENABLE_PIN      65   // E1 ENA
73 73
 
74
-#define E2_STEP_PIN        24 // E2 STP
75
-#define E2_DIR_PIN         23 // E2 DIR
76
-#define E2_ENABLE_PIN      49 // E2 ENA
74
+#define E2_STEP_PIN        24   // E2 STP
75
+#define E2_DIR_PIN         23   // E2 DIR
76
+#define E2_ENABLE_PIN      49   // E2 ENA
77 77
 
78 78
 //
79 79
 // Temperature Sensors
@@ -93,13 +93,13 @@
93 93
 //
94 94
 // Heaters / Fans
95 95
 //
96
-#define HEATER_0_PIN        7 // HOTEND0 MOSFET
97
-#define HEATER_1_PIN        8 // HOTEND1 MOSFET
98
-#define HEATER_BED_PIN     39 // BED MOSFET
96
+#define HEATER_0_PIN        7   // HOTEND0 MOSFET
97
+#define HEATER_1_PIN        8   // HOTEND1 MOSFET
98
+#define HEATER_BED_PIN     39   // BED MOSFET
99 99
 
100
-#define FAN_PIN            11 // FAN1 header on board - PRINT FAN
101
-#define FAN1_PIN            9 // FAN2 header on board - CONTROLLER FAN
102
-#define FAN2_PIN           12 // FAN3 header on board - EXTRUDER0 FAN
100
+#define FAN_PIN            11   // FAN1 header on board - PRINT FAN
101
+#define FAN1_PIN            9   // FAN2 header on board - CONTROLLER FAN
102
+#define FAN2_PIN           12   // FAN3 header on board - EXTRUDER0 FAN
103 103
 
104 104
 //
105 105
 // Misc. Functions

+ 7
- 7
Marlin/src/pins/pins_DUE3DOM_MINI.h Vedi File

@@ -35,7 +35,7 @@
35 35
 //
36 36
 #define SERVO0_PIN          5
37 37
 #define SERVO1_PIN          6
38
-#define SERVO2_PIN          8 // 4-pin header FAN0
38
+#define SERVO2_PIN          8   // 4-pin header FAN0
39 39
 #define SERVO3_PIN         -1
40 40
 
41 41
 //
@@ -85,13 +85,13 @@
85 85
 //
86 86
 // Heaters / Fans
87 87
 //
88
-#define HEATER_0_PIN       13 // HOTEND0 MOSFET
89
-#define HEATER_BED_PIN      7 // BED MOSFET
88
+#define HEATER_0_PIN       13   // HOTEND0 MOSFET
89
+#define HEATER_BED_PIN      7   // BED MOSFET
90 90
 
91
-#define FAN_PIN            11 // FAN1 header on board - PRINT FAN
92
-#define FAN1_PIN           12 // FAN2 header on board - CONTROLLER FAN
93
-#define FAN2_PIN            9 // FAN3 header on board - EXTRUDER0 FAN
94
-//#define FAN3_PIN          8 // FAN0 4-pin header on board
91
+#define FAN_PIN            11   // FAN1 header on board - PRINT FAN
92
+#define FAN1_PIN           12   // FAN2 header on board - CONTROLLER FAN
93
+#define FAN2_PIN            9   // FAN3 header on board - EXTRUDER0 FAN
94
+//#define FAN3_PIN          8   // FAN0 4-pin header on board
95 95
 
96 96
 //
97 97
 // Misc. Functions

+ 7
- 7
Marlin/src/pins/pins_EINSY_RAMBO.h Vedi File

@@ -71,8 +71,8 @@
71 71
   #define Y_MIN_PIN          Y_DIAG_PIN
72 72
 
73 73
   #if ENABLED(BLTOUCH)
74
-    #define Z_MIN_PIN        11 // Y-MIN
75
-    #define SERVO0_PIN       10 // Z-MIN
74
+    #define Z_MIN_PIN        11   // Y-MIN
75
+    #define SERVO0_PIN       10   // Z-MIN
76 76
   #else
77 77
     #define Z_MIN_PIN        10
78 78
   #endif
@@ -152,8 +152,8 @@
152 152
 // M3/M4/M5 - Spindle/Laser Control
153 153
 //
154 154
 // use P1 connector for spindle pins
155
-#define SPINDLE_LASER_PWM_PIN     9  // MUST BE HARDWARE PWM
156
-#define SPINDLE_LASER_ENABLE_PIN 18  // Pin should have a pullup!
155
+#define SPINDLE_LASER_PWM_PIN     9   // MUST BE HARDWARE PWM
156
+#define SPINDLE_LASER_ENABLE_PIN 18   // Pin should have a pullup!
157 157
 #define SPINDLE_DIR_PIN          19
158 158
 
159 159
 //
@@ -161,7 +161,7 @@
161 161
 //
162 162
 #define E_MUX0_PIN         17
163 163
 #define E_MUX1_PIN         16
164
-#define E_MUX2_PIN         78  // 84 in MK2 Firmware, with BEEPER as 78
164
+#define E_MUX2_PIN         78   // 84 in MK2 Firmware, with BEEPER as 78
165 165
 
166 166
 //
167 167
 // LCD / Controller
@@ -189,8 +189,8 @@
189 189
       #define BTN_EN2         72
190 190
     #endif
191 191
 
192
-    #define BTN_ENC            9  // AUX-2
193
-    #define BEEPER_PIN        84  // AUX-4
192
+    #define BTN_ENC            9   // AUX-2
193
+    #define BEEPER_PIN        84   // AUX-4
194 194
     #define SD_DETECT_PIN     15
195 195
 
196 196
   #endif // NEWPANEL

+ 21
- 21
Marlin/src/pins/pins_ELEFU_3.h Vedi File

@@ -85,18 +85,18 @@
85 85
 //
86 86
 // Heaters / Fans
87 87
 //
88
-#define HEATER_0_PIN       45 // 12V PWM1
89
-#define HEATER_1_PIN       46 // 12V PWM2
90
-#define HEATER_2_PIN       17 // 12V PWM3
91
-#define HEATER_BED_PIN     44 // DOUBLE 12V PWM
88
+#define HEATER_0_PIN       45   // 12V PWM1
89
+#define HEATER_1_PIN       46   // 12V PWM2
90
+#define HEATER_2_PIN       17   // 12V PWM3
91
+#define HEATER_BED_PIN     44   // DOUBLE 12V PWM
92 92
 
93
-#define FAN_PIN            16 // 5V PWM
93
+#define FAN_PIN            16   // 5V PWM
94 94
 
95 95
 //
96 96
 // Misc. Functions
97 97
 //
98
-#define PS_ON_PIN          10 // Set to -1 if using a manual switch on the PWRSW Connector
99
-#define SLEEP_WAKE_PIN     26 // This feature still needs work
98
+#define PS_ON_PIN          10   // Set to -1 if using a manual switch on the PWRSW Connector
99
+#define SLEEP_WAKE_PIN     26   // This feature still needs work
100 100
 #define PHOTOGRAPH_PIN     29
101 101
 
102 102
 //
@@ -122,28 +122,28 @@
122 122
   #define TLC_XLAT_PIN     22
123 123
   #define TLC_DATA_PIN     24
124 124
 
125
-  // We also need to define pin to port number mapping for the 2560 to match the pins listed above. If you change the TLC pins, update this as well per the 2560 datasheet!
126
-  // This currently only works with the RA Board.
127
-  #define TLC_CLOCK_BIT 3 // bit 3 on port A
128
-  #define TLC_CLOCK_PORT &PORTA // bit 3 on port A
125
+  // We also need to define pin to port number mapping for the 2560 to match the pins listed above.
126
+  // If you change the TLC pins, update this as well per the 2560 datasheet! This currently only works with the RA Board.
127
+  #define TLC_CLOCK_BIT     3
128
+  #define TLC_CLOCK_PORT    &PORTA
129 129
 
130
-  #define TLC_BLANK_BIT 1 // bit 1 on port A
131
-  #define TLC_BLANK_PORT &PORTA // bit 1 on port A
130
+  #define TLC_BLANK_BIT     1
131
+  #define TLC_BLANK_PORT    &PORTA
132 132
 
133
-  #define TLC_DATA_BIT 2 // bit 2 on port A
134
-  #define TLC_DATA_PORT &PORTA // bit 2 on port A
133
+  #define TLC_DATA_BIT      2
134
+  #define TLC_DATA_PORT     &PORTA
135 135
 
136
-  #define TLC_XLAT_BIT 0 // bit 0 on port A
137
-  #define TLC_XLAT_PORT &PORTA // bit 0 on port A
136
+  #define TLC_XLAT_BIT      0
137
+  #define TLC_XLAT_PORT     &PORTA
138 138
 
139
-  // change this to match your situation. Lots of TLCs takes up the arduino SRAM very quickly, so be careful
139
+  // Change this to match your situation. Lots of TLCs takes up the arduino SRAM very quickly, so be careful
140 140
   // Leave it at at least 1 if you have enabled RA_LIGHTING
141 141
   // The number of TLC5947 boards chained together for use with the animation, additional ones will repeat the animation on them, but are not individually addressable and mimic those before them. You can leave the default at 2 even if you only have 1 TLC5947 module.
142
-  #define NUM_TLCS 2
142
+  #define NUM_TLCS          2
143 143
 
144 144
   // These TRANS_ARRAY values let you change the order the LEDs on the lighting modules will animate for chase functions.
145 145
   // Modify them according to your specific situation.
146 146
   // NOTE: the array should be 8 long for every TLC you have. These defaults assume (2) TLCs.
147
-  #define TRANS_ARRAY {0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8} //forwards
148
-  //#define TRANS_ARRAY {7, 6, 5, 4, 3, 2, 1, 0, 8, 9, 10, 11, 12, 13, 14, 15} //backwards
147
+  #define TRANS_ARRAY { 0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8 }    // forward
148
+  //#define TRANS_ARRAY { 7, 6, 5, 4, 3, 2, 1, 0, 8, 9, 10, 11, 12, 13, 14, 15 }  // backward
149 149
 #endif // RA_DISCO

+ 3
- 4
Marlin/src/pins/pins_GEN3_MONOLITHIC.h Vedi File

@@ -68,11 +68,11 @@
68 68
 //
69 69
 #define X_STEP_PIN         15
70 70
 #define X_DIR_PIN          18
71
-#define X_ENABLE_PIN       24 // actually uses Y_enable_pin
71
+#define X_ENABLE_PIN       24   // actually uses Y_enable_pin
72 72
 
73 73
 #define Y_STEP_PIN         23
74 74
 #define Y_DIR_PIN          22
75
-#define Y_ENABLE_PIN       24 // shared with X_enable_pin
75
+#define Y_ENABLE_PIN       24   // shared with X_enable_pin
76 76
 
77 77
 #define Z_STEP_PIN         27
78 78
 #define Z_DIR_PIN          28
@@ -95,7 +95,6 @@
95 95
 //
96 96
 // Misc. Functions
97 97
 //
98
-#define PS_ON_PIN          14 // Alex, does this work on the card?
98
+#define PS_ON_PIN          14   // Alex, does this work on the card?
99 99
 
100 100
 // Alex extras from Gen3+
101
-

+ 6
- 6
Marlin/src/pins/pins_GEN7_12.h Vedi File

@@ -60,7 +60,7 @@
60 60
 #endif
61 61
 
62 62
 #ifndef GEN7_VERSION
63
-  #define GEN7_VERSION 12 // v1.x
63
+  #define GEN7_VERSION 12   // v1.x
64 64
 #endif
65 65
 
66 66
 //
@@ -122,9 +122,9 @@
122 122
 #define PS_ON_PIN          15
123 123
 
124 124
 #if GEN7_VERSION < 13
125
-  #define CASE_LIGHT_PIN   16     // MUST BE HARDWARE PWM
125
+  #define CASE_LIGHT_PIN   16   // MUST BE HARDWARE PWM
126 126
 #else     // Gen7 v1.3 removed the I2C connector & signals so need to get PWM off the PC power supply header
127
-  #define CASE_LIGHT_PIN   15     // MUST BE HARDWARE PWM
127
+  #define CASE_LIGHT_PIN   15   // MUST BE HARDWARE PWM
128 128
 #endif
129 129
 
130 130
 // All these generations of Gen7 supply thermistor power
@@ -140,10 +140,10 @@
140 140
 //
141 141
 // M3/M4/M5 - Spindle/Laser Control
142 142
 //
143
-#define SPINDLE_LASER_ENABLE_PIN 10  // Pin should have a pullup/pulldown!
143
+#define SPINDLE_LASER_ENABLE_PIN 10   // Pin should have a pullup/pulldown!
144 144
 #define SPINDLE_DIR_PIN          11
145 145
 #if GEN7_VERSION < 13
146
-  #define SPINDLE_LASER_PWM_PIN  16  // MUST BE HARDWARE PWM
146
+  #define SPINDLE_LASER_PWM_PIN  16   // MUST BE HARDWARE PWM
147 147
 #else  // Gen7 v1.3 removed the I2C connector & signals so need to get PWM off the PC power supply header
148
-  #define SPINDLE_LASER_PWM_PIN  15  // MUST BE HARDWARE PWM
148
+  #define SPINDLE_LASER_PWM_PIN  15   // MUST BE HARDWARE PWM
149 149
 #endif

+ 1
- 1
Marlin/src/pins/pins_GEN7_13.h Vedi File

@@ -51,5 +51,5 @@
51 51
 
52 52
 #define BOARD_NAME "Gen7 v1.3"
53 53
 
54
-#define GEN7_VERSION 13 // v1.3
54
+#define GEN7_VERSION 13   // v1.3
55 55
 #include "pins_GEN7_12.h"

+ 3
- 3
Marlin/src/pins/pins_GEN7_14.h Vedi File

@@ -57,7 +57,7 @@
57 57
 
58 58
 #define BOARD_NAME "Gen7 v1.4"
59 59
 
60
-#define GEN7_VERSION 14 // v1.4
60
+#define GEN7_VERSION 14   // v1.4
61 61
 
62 62
 //
63 63
 // Limit switches
@@ -113,6 +113,6 @@
113 113
 //
114 114
 // M3/M4/M5 - Spindle/Laser Control
115 115
 //
116
-#define SPINDLE_LASER_ENABLE_PIN 20  // Pin should have a pullup/pulldown!
117
-#define SPINDLE_LASER_PWM_PIN    16  // MUST BE HARDWARE PWM
116
+#define SPINDLE_LASER_ENABLE_PIN 20   // Pin should have a pullup/pulldown!
117
+#define SPINDLE_LASER_PWM_PIN    16   // MUST BE HARDWARE PWM
118 118
 #define SPINDLE_DIR_PIN          21

+ 2
- 2
Marlin/src/pins/pins_GEN7_CUSTOM.h Vedi File

@@ -133,6 +133,6 @@
133 133
 //
134 134
 // M3/M4/M5 - Spindle/Laser Control
135 135
 //
136
-#define SPINDLE_LASER_ENABLE_PIN  5  // Pin should have a pullup/pulldown!
137
-#define SPINDLE_LASER_PWM_PIN    16  // MUST BE HARDWARE PWM
136
+#define SPINDLE_LASER_ENABLE_PIN  5   // Pin should have a pullup/pulldown!
137
+#define SPINDLE_LASER_PWM_PIN    16   // MUST BE HARDWARE PWM
138 138
 #define SPINDLE_DIR_PIN           6

+ 1
- 1
Marlin/src/pins/pins_GT2560_REV_A.h Vedi File

@@ -90,7 +90,7 @@
90 90
 #define SDSS               53
91 91
 #define LED_PIN            13
92 92
 #define PS_ON_PIN          12
93
-#define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing
93
+#define SUICIDE_PIN        54   // Must be enabled at startup to keep power flowing
94 94
 #define KILL_PIN           -1
95 95
 
96 96
 #if ENABLED(ULTRA_LCD)

+ 14
- 14
Marlin/src/pins/pins_LEAPFROG.h Vedi File

@@ -47,21 +47,21 @@
47 47
 #define X_DIR_PIN          63
48 48
 #define X_ENABLE_PIN       29
49 49
 
50
-#define Y_STEP_PIN         14 // A6
51
-#define Y_DIR_PIN          15 // A0
50
+#define Y_STEP_PIN         14   // A6
51
+#define Y_DIR_PIN          15   // A0
52 52
 #define Y_ENABLE_PIN       39
53 53
 
54
-#define Z_STEP_PIN         31 // A2
55
-#define Z_DIR_PIN          32 // A6
56
-#define Z_ENABLE_PIN       30 // A1
54
+#define Z_STEP_PIN         31   // A2
55
+#define Z_DIR_PIN          32   // A6
56
+#define Z_ENABLE_PIN       30   // A1
57 57
 
58
-#define E0_STEP_PIN        34 // 34
59
-#define E0_DIR_PIN         35 // 35
60
-#define E0_ENABLE_PIN      33 // 33
58
+#define E0_STEP_PIN        34   // 34
59
+#define E0_DIR_PIN         35   // 35
60
+#define E0_ENABLE_PIN      33   // 33
61 61
 
62
-#define E1_STEP_PIN        37 // 37
63
-#define E1_DIR_PIN         40 // 40
64
-#define E1_ENABLE_PIN      36 // 36
62
+#define E1_STEP_PIN        37   // 37
63
+#define E1_DIR_PIN         40   // 40
64
+#define E1_ENABLE_PIN      36   // 36
65 65
 
66 66
 //
67 67
 // Temperature Sensors
@@ -74,9 +74,9 @@
74 74
 // Heaters / Fans
75 75
 //
76 76
 #define HEATER_0_PIN        9
77
-#define HEATER_1_PIN        8 // 12
78
-#define HEATER_2_PIN       11 // 13
79
-#define HEATER_BED_PIN     10 // 14/15
77
+#define HEATER_1_PIN        8   // 12
78
+#define HEATER_2_PIN       11   // 13
79
+#define HEATER_BED_PIN     10   // 14/15
80 80
 
81 81
 #define FAN_PIN             7
82 82
 

+ 5
- 5
Marlin/src/pins/pins_MALYAN_M200.h Vedi File

@@ -73,8 +73,8 @@
73 73
 //
74 74
 // Heaters / Fans
75 75
 //
76
-#define HEATER_0_PIN       PB6 // HOTEND0 MOSFET
77
-#define HEATER_BED_PIN     PB7 // BED MOSFET
76
+#define HEATER_0_PIN       PB6   // HOTEND0 MOSFET
77
+#define HEATER_BED_PIN     PB7   // BED MOSFET
78 78
 
79 79
 // This board has only the controller fan and the extruder fan
80 80
 // If someone hacks to put a direct power fan on the controller, PB3 could
@@ -83,6 +83,6 @@
83 83
 
84 84
 // FAN_PIN is commented out here because the M200 example
85 85
 // Configuration_adv.h does NOT override E0_AUTO_FAN_PIN.
86
-//#define FAN_PIN            PB8 // FAN1 header on board - PRINT FAN
87
-#define FAN1_PIN           PB3 // FAN2 header on board - CONTROLLER FAN
88
-#define FAN2_PIN           -1 // FAN3 header on board - EXTRUDER0 FAN
86
+//#define FAN_PIN            PB8   // FAN1 header on board - PRINT FAN
87
+#define FAN1_PIN           PB3   // FAN2 header on board - CONTROLLER FAN
88
+#define FAN2_PIN           -1    // FAN3 header on board - EXTRUDER0 FAN

+ 12
- 12
Marlin/src/pins/pins_MEGACONTROLLER.h Vedi File

@@ -62,17 +62,17 @@
62 62
 //
63 63
 // Steppers
64 64
 //
65
-#define X_STEP_PIN         62 // A8
66
-#define X_DIR_PIN          63 // A9
67
-#define X_ENABLE_PIN       61 // A7
65
+#define X_STEP_PIN         62   // A8
66
+#define X_DIR_PIN          63   // A9
67
+#define X_ENABLE_PIN       61   // A7
68 68
 
69
-#define Y_STEP_PIN         65 // A11
70
-#define Y_DIR_PIN          66 // A12
71
-#define Y_ENABLE_PIN       64 // A10
69
+#define Y_STEP_PIN         65   // A11
70
+#define Y_DIR_PIN          66   // A12
71
+#define Y_ENABLE_PIN       64   // A10
72 72
 
73
-#define Z_STEP_PIN         68 // A14
74
-#define Z_DIR_PIN          69 // A15
75
-#define Z_ENABLE_PIN       67 // A13
73
+#define Z_STEP_PIN         68   // A14
74
+#define Z_DIR_PIN          69   // A15
75
+#define Z_ENABLE_PIN       67   // A13
76 76
 
77 77
 #define E0_STEP_PIN        23
78 78
 #define E0_DIR_PIN         24
@@ -138,7 +138,7 @@
138 138
   // Pins for DOGM SPI LCD Support
139 139
   #define DOGLCD_A0        47
140 140
   #define DOGLCD_CS        45
141
-  #define LCD_BACKLIGHT_PIN 44  // backlight LED on PA3
141
+  #define LCD_BACKLIGHT_PIN 44   // backlight LED on PA3
142 142
 
143 143
   #define KILL_PIN         12
144 144
   // GLCD features
@@ -159,6 +159,6 @@
159 159
 //
160 160
 // M3/M4/M5 - Spindle/Laser Control
161 161
 //
162
-#define SPINDLE_LASER_PWM_PIN     6  // MUST BE HARDWARE PWM
163
-#define SPINDLE_LASER_ENABLE_PIN  7  // Pin should have a pullup!
162
+#define SPINDLE_LASER_PWM_PIN     6   // MUST BE HARDWARE PWM
163
+#define SPINDLE_LASER_ENABLE_PIN  7   // Pin should have a pullup!
164 164
 #define SPINDLE_DIR_PIN           8

+ 7
- 7
Marlin/src/pins/pins_MEGATRONICS.h Vedi File

@@ -53,13 +53,13 @@
53 53
 #define X_DIR_PIN          28
54 54
 #define X_ENABLE_PIN       24
55 55
 
56
-#define Y_STEP_PIN         60 // A6
57
-#define Y_DIR_PIN          61 // A7
56
+#define Y_STEP_PIN         60   // A6
57
+#define Y_DIR_PIN          61   // A7
58 58
 #define Y_ENABLE_PIN       22
59 59
 
60
-#define Z_STEP_PIN         54 // A0
61
-#define Z_DIR_PIN          55 // A1
62
-#define Z_ENABLE_PIN       56 // A2
60
+#define Z_STEP_PIN         54   // A0
61
+#define Z_DIR_PIN          55   // A1
62
+#define Z_ENABLE_PIN       56   // A2
63 63
 
64 64
 #define E0_STEP_PIN        31
65 65
 #define E0_DIR_PIN         32
@@ -123,6 +123,6 @@
123 123
 //
124 124
 // M3/M4/M5 - Spindle/Laser Control
125 125
 //
126
-#define SPINDLE_LASER_PWM_PIN     3  // MUST BE HARDWARE PWM
127
-#define SPINDLE_LASER_ENABLE_PIN  4  // Pin should have a pullup!
126
+#define SPINDLE_LASER_PWM_PIN     3   // MUST BE HARDWARE PWM
127
+#define SPINDLE_LASER_ENABLE_PIN  4   // Pin should have a pullup!
128 128
 #define SPINDLE_DIR_PIN          11

+ 10
- 10
Marlin/src/pins/pins_MEGATRONICS_2.h Vedi File

@@ -53,13 +53,13 @@
53 53
 #define X_DIR_PIN          27
54 54
 #define X_ENABLE_PIN       25
55 55
 
56
-#define Y_STEP_PIN          4 // A6
57
-#define Y_DIR_PIN          54 // A0
56
+#define Y_STEP_PIN          4   // A6
57
+#define Y_DIR_PIN          54   // A0
58 58
 #define Y_ENABLE_PIN        5
59 59
 
60
-#define Z_STEP_PIN         56 // A2
61
-#define Z_DIR_PIN          60 // A6
62
-#define Z_ENABLE_PIN       55 // A1
60
+#define Z_STEP_PIN         56   // A2
61
+#define Z_DIR_PIN          60   // A6
62
+#define Z_ENABLE_PIN       55   // A1
63 63
 
64 64
 #define E0_STEP_PIN        35
65 65
 #define E0_DIR_PIN         36
@@ -69,8 +69,8 @@
69 69
 #define E1_DIR_PIN         39
70 70
 #define E1_ENABLE_PIN      28
71 71
 
72
-#define E2_STEP_PIN        23 // ? schematic says 24
73
-#define E2_DIR_PIN         24 // ? schematic says 23
72
+#define E2_STEP_PIN        23   // ? schematic says 24
73
+#define E2_DIR_PIN         24   // ? schematic says 23
74 74
 #define E2_ENABLE_PIN      22
75 75
 
76 76
 //
@@ -138,6 +138,6 @@
138 138
 //
139 139
 // M3/M4/M5 - Spindle/Laser Control
140 140
 //
141
-#define SPINDLE_LASER_PWM_PIN          3  // MUST BE HARDWARE PWM
142
-#define SPINDLE_LASER_ENABLE_PIN      16  // Pin should have a pullup!
143
-#define SPINDLE_DIR_PIN               11
141
+#define SPINDLE_LASER_PWM_PIN     3   // MUST BE HARDWARE PWM
142
+#define SPINDLE_LASER_ENABLE_PIN 16   // Pin should have a pullup!
143
+#define SPINDLE_DIR_PIN          11

+ 9
- 9
Marlin/src/pins/pins_MEGATRONICS_3.h Vedi File

@@ -37,10 +37,10 @@
37 37
 //
38 38
 // Servos
39 39
 //
40
-#define SERVO0_PIN         46 // AUX3-6
41
-#define SERVO1_PIN         47 // AUX3-5
42
-#define SERVO2_PIN         48 // AUX3-4
43
-#define SERVO3_PIN         49 // AUX3-3
40
+#define SERVO0_PIN         46   // AUX3-6
41
+#define SERVO1_PIN         47   // AUX3-5
42
+#define SERVO2_PIN         48   // AUX3-4
43
+#define SERVO3_PIN         49   // AUX3-3
44 44
 
45 45
 //
46 46
 // Limit Switches
@@ -168,9 +168,9 @@
168 168
 //
169 169
 // M3/M4/M5 - Spindle/Laser Control
170 170
 //
171
-#if DISABLED(REPRAPWORLD_KEYPAD)       // try to use the keypad connector first
172
-  #define SPINDLE_LASER_PWM_PIN    44  // MUST BE HARDWARE PWM
173
-  #define SPINDLE_LASER_ENABLE_PIN 43  // Pin should have a pullup!
171
+#if DISABLED(REPRAPWORLD_KEYPAD)        // try to use the keypad connector first
172
+  #define SPINDLE_LASER_PWM_PIN    44   // MUST BE HARDWARE PWM
173
+  #define SPINDLE_LASER_ENABLE_PIN 43   // Pin should have a pullup!
174 174
   #define SPINDLE_DIR_PIN          42
175 175
 #elif EXTRUDERS <= 2
176 176
   // Hijack the last extruder so that we can get the PWM signal off the Y breakout
@@ -184,7 +184,7 @@
184 184
   #define Y_ENABLE_PIN             23
185 185
   #define Y_STEP_PIN               22
186 186
   #define Y_DIR_PIN                60
187
-  #define SPINDLE_LASER_PWM_PIN     4  // MUST BE HARDWARE PWM
188
-  #define SPINDLE_LASER_ENABLE_PIN 17  // Pin should have a pullup!
187
+  #define SPINDLE_LASER_PWM_PIN     4   // MUST BE HARDWARE PWM
188
+  #define SPINDLE_LASER_ENABLE_PIN 17   // Pin should have a pullup!
189 189
   #define SPINDLE_DIR_PIN           5
190 190
 #endif

+ 5
- 5
Marlin/src/pins/pins_MELZI_CREALITY.h Vedi File

@@ -47,11 +47,11 @@
47 47
 #undef LCD_PINS_D7
48 48
 #undef FIL_RUNOUT_PIN
49 49
 
50
-#define LCD_SDSS           31 // Smart Controller SD card reader (rather than the Melzi)
51
-#define LCD_PINS_RS        28 // st9720 CS
52
-#define LCD_PINS_ENABLE    17 // st9720 DAT
53
-#define LCD_PINS_D4        30 // st9720 CLK
54
-#define FIL_RUNOUT_PIN     -1 // Uses Beeper/LED Pin Pulled to GND
50
+#define LCD_SDSS           31   // Smart Controller SD card reader (rather than the Melzi)
51
+#define LCD_PINS_RS        28   // ST9720 CS
52
+#define LCD_PINS_ENABLE    17   // ST9720 DAT
53
+#define LCD_PINS_D4        30   // ST9720 CLK
54
+#define FIL_RUNOUT_PIN     -1   // Uses Beeper/LED Pin Pulled to GND
55 55
 
56 56
 // Alter timing for graphical display
57 57
 #ifndef ST7920_DELAY_1

+ 6
- 6
Marlin/src/pins/pins_MELZI_MALYAN.h Vedi File

@@ -35,12 +35,12 @@
35 35
 #undef BTN_EN2
36 36
 #undef BTN_ENC
37 37
 
38
-#define LCD_PINS_RS     17 // st9720 CS
39
-#define LCD_PINS_ENABLE 16 // st9720 DAT
40
-#define LCD_PINS_D4     11 // st9720 CLK
41
-#define BTN_EN1         30
42
-#define BTN_EN2         29
43
-#define BTN_ENC         28
38
+#define LCD_PINS_RS        17   // ST9720 CS
39
+#define LCD_PINS_ENABLE    16   // ST9720 DAT
40
+#define LCD_PINS_D4        11   // ST9720 CLK
41
+#define BTN_EN1            30
42
+#define BTN_EN2            29
43
+#define BTN_ENC            28
44 44
 
45 45
 // Alter timing for graphical display
46 46
 #ifndef ST7920_DELAY_1

+ 46
- 48
Marlin/src/pins/pins_MIGHTYBOARD_REVE.h Vedi File

@@ -119,7 +119,7 @@
119 119
 #define DIGIPOTS_I2C_SDA_Z  65   // K3
120 120
 #define DIGIPOTS_I2C_SDA_E0 27   // A5
121 121
 #define DIGIPOTS_I2C_SDA_E1 77   // J6
122
-#define DIGIPOT_I2C_ADDRESS_A 0x2F  // unshifted slave address (5E <- 2F << 1)
122
+#define DIGIPOT_I2C_ADDRESS_A 0x2F   // unshifted slave address (5E <- 2F << 1)
123 123
 
124 124
 //
125 125
 // Temperature Sensors
@@ -134,14 +134,14 @@
134 134
 //  2 E4 CS2
135 135
 // 78 E2 SCK
136 136
 //
137
-#define THERMO_SCK_PIN      78   // E2
138
-#define THERMO_DO_PIN        3   // E5
139
-#define THERMO_CS1           5   // E3
140
-#define THERMO_CS2           2   // E4
141
-
142
-#define MAX6675_SS          THERMO_CS1
143
-#define MAX6675_SCK_PIN     THERMO_SCK_PIN
144
-#define MAX6675_DO_PIN      THERMO_DO_PIN
137
+#define THERMO_SCK_PIN     78   // E2
138
+#define THERMO_DO_PIN       3   // E5
139
+#define THERMO_CS1          5   // E3
140
+#define THERMO_CS2          2   // E4
141
+
142
+#define MAX6675_SS         THERMO_CS1
143
+#define MAX6675_SCK_PIN    THERMO_SCK_PIN
144
+#define MAX6675_DO_PIN     THERMO_DO_PIN
145 145
 //
146 146
 // Augmentation for auto-assigning plugs
147 147
 //
@@ -149,10 +149,10 @@
149 149
 // 2 extruders or 1 extruder and a heated bed.
150 150
 // With no heated bed, an additional 24V fan is possible.
151 151
 //
152
-#define MOSFET_A_PIN         6   // H3
153
-#define MOSFET_B_PIN        11   // B5 - Rev A of this file had this pin assigned to 9
154
-#define MOSFET_C_PIN        45   // L4
155
-#define MOSFET_D_PIN        44   // L5
152
+#define MOSFET_A_PIN        6   // H3
153
+#define MOSFET_B_PIN       11   // B5 - Rev A of this file had this pin assigned to 9
154
+#define MOSFET_C_PIN       45   // L4
155
+#define MOSFET_D_PIN       44   // L5
156 156
 
157 157
 #if HOTENDS > 1
158 158
   #if TEMP_SENSOR_BED
@@ -200,37 +200,37 @@
200 200
 //
201 201
 // Misc. Functions
202 202
 //
203
-#define LED_PIN             13   // B7
204
-#define CUTOFF_RESET_PIN    16   // H1
205
-#define CUTOFF_TEST_PIN     17   // H0
206
-#define CASE_LIGHT_PIN      44   // L5   MUST BE HARDWARE PWM
203
+#define LED_PIN            13   // B7
204
+#define CUTOFF_RESET_PIN   16   // H1
205
+#define CUTOFF_TEST_PIN    17   // H0
206
+#define CASE_LIGHT_PIN     44   // L5   MUST BE HARDWARE PWM
207 207
 
208 208
 //
209 209
 // LCD / Controller
210 210
 //
211 211
 #ifdef REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
212 212
 
213
-  #define LCD_PINS_RS       33   // C4: LCD-STROBE
214
-  #define LCD_PINS_ENABLE   72   // J2: LEFT
215
-  #define LCD_PINS_D4       35   // C2: LCD-CLK
216
-  #define LCD_PINS_D5       32   // C5: RLED
217
-  #define LCD_PINS_D6       34   // C3: LCD-DATA
218
-  #define LCD_PINS_D7       31   // C6: GLED
213
+  #define LCD_PINS_RS      33   // C4: LCD-STROBE
214
+  #define LCD_PINS_ENABLE  72   // J2: LEFT
215
+  #define LCD_PINS_D4      35   // C2: LCD-CLK
216
+  #define LCD_PINS_D5      32   // C5: RLED
217
+  #define LCD_PINS_D6      34   // C3: LCD-DATA
218
+  #define LCD_PINS_D7      31   // C6: GLED
219 219
 
220
-  #define BTN_EN2           75   // J4, UP
221
-  #define BTN_EN1           73   // J3, DOWN
220
+  #define BTN_EN2          75   // J4, UP
221
+  #define BTN_EN1          73   // J3, DOWN
222 222
   //STOP button connected as KILL_PIN
223
-  #define KILL_PIN          14   // J1, RIGHT
223
+  #define KILL_PIN         14   // J1, RIGHT
224 224
   //KILL - not connected
225 225
 
226
-  #define BEEPER_PIN         8   // H5, SD_WP
226
+  #define BEEPER_PIN        8   // H5, SD_WP
227 227
 
228
-  #define BTN_CENTER        15   // J0
229
-  #define BTN_ENC           BTN_CENTER
228
+  #define BTN_CENTER       15   // J0
229
+  #define BTN_ENC          BTN_CENTER
230 230
 
231 231
   //on board leds
232
-  #define STAT_LED_RED_LED  SERVO0_PIN // C1 (1280-EX1, DEBUG2)
233
-  #define STAT_LED_BLUE_PIN SERVO1_PIN // C0 (1280-EX2, DEBUG3)
232
+  #define STAT_LED_RED_LED  SERVO0_PIN   // C1 (1280-EX1, DEBUG2)
233
+  #define STAT_LED_BLUE_PIN SERVO1_PIN   // C0 (1280-EX2, DEBUG3)
234 234
 
235 235
 #else
236 236
   // Replicator uses a 3-wire SR controller with HD44780
@@ -238,18 +238,18 @@
238 238
   //
239 239
 
240 240
   #define SAV_3DLCD
241
-  #define SR_DATA_PIN       34   // C3
242
-  #define SR_CLK_PIN        35   // C2
243
-  #define SR_STROBE_PIN     33   // C4
241
+  #define SR_DATA_PIN      34   // C3
242
+  #define SR_CLK_PIN       35   // C2
243
+  #define SR_STROBE_PIN    33   // C4
244 244
 
245
-  #define BTN_UP            75   // J4
246
-  #define BTN_DOWN          73   // J3
247
-  #define BTN_LEFT          72   // J2
248
-  #define BTN_RIGHT         14   // J1
249
-  #define BTN_CENTER        15   // J0
250
-  #define BTN_ENC           BTN_CENTER
245
+  #define BTN_UP           75   // J4
246
+  #define BTN_DOWN         73   // J3
247
+  #define BTN_LEFT         72   // J2
248
+  #define BTN_RIGHT        14   // J1
249
+  #define BTN_CENTER       15   // J0
250
+  #define BTN_ENC          BTN_CENTER
251 251
 
252
-  #define BEEPER_PIN         4   // G5
252
+  #define BEEPER_PIN        4   // G5
253 253
 
254 254
   #define STAT_LED_RED_PIN  32   // C5
255 255
   #define STAT_LED_BLUE_PIN 31   // C6 (Actually green)
@@ -259,19 +259,17 @@
259 259
 //
260 260
 // SD Card
261 261
 //
262
-#define SDSS                53   // B0
263
-#define SD_DETECT_PIN        9   // H6
262
+#define SDSS               53   // B0
263
+#define SD_DETECT_PIN       9   // H6
264 264
 
265 265
 #define MAX_PIN             THERMO_SCK_PIN
266 266
 
267 267
 //
268 268
 // M3/M4/M5 - Spindle/Laser Control
269 269
 //
270
-#define SPINDLE_LASER_ENABLE_PIN 66  // K4   Pin should have a pullup!
271
-#define SPINDLE_LASER_PWM_PIN     8  // H5   MUST BE HARDWARE PWM
272
-#define SPINDLE_DIR_PIN          67  // K5
273
-
274
-
270
+#define SPINDLE_LASER_ENABLE_PIN 66   // K4   Pin should have a pullup!
271
+#define SPINDLE_LASER_PWM_PIN     8   // H5   MUST BE HARDWARE PWM
272
+#define SPINDLE_DIR_PIN          67   // K5
275 273
 
276 274
 
277 275
 // Check if all pins are defined in mega/pins_arduino.h

+ 2
- 2
Marlin/src/pins/pins_MINIRAMBO.h Vedi File

@@ -122,8 +122,8 @@
122 122
 // M3/M4/M5 - Spindle/Laser Control
123 123
 //
124 124
 // use P1 connector for spindle pins
125
-#define SPINDLE_LASER_PWM_PIN     9  // MUST BE HARDWARE PWM
126
-#define SPINDLE_LASER_ENABLE_PIN 18  // Pin should have a pullup!
125
+#define SPINDLE_LASER_PWM_PIN     9   // MUST BE HARDWARE PWM
126
+#define SPINDLE_LASER_ENABLE_PIN 18   // Pin should have a pullup!
127 127
 #define SPINDLE_DIR_PIN          19
128 128
 
129 129
 //

+ 15
- 15
Marlin/src/pins/pins_MINITRONICS.h Vedi File

@@ -57,13 +57,13 @@
57 57
 #define X_DIR_PIN          47
58 58
 #define X_ENABLE_PIN       49
59 59
 
60
-#define Y_STEP_PIN         39 // A6
61
-#define Y_DIR_PIN          40 // A0
60
+#define Y_STEP_PIN         39   // A6
61
+#define Y_DIR_PIN          40   // A0
62 62
 #define Y_ENABLE_PIN       38
63 63
 
64
-#define Z_STEP_PIN         42 // A2
65
-#define Z_DIR_PIN          43 // A6
66
-#define Z_ENABLE_PIN       41 // A1
64
+#define Z_STEP_PIN         42   // A2
65
+#define Z_DIR_PIN          43   // A6
66
+#define Z_ENABLE_PIN       41   // A1
67 67
 
68 68
 #define E0_STEP_PIN        45
69 69
 #define E0_DIR_PIN         44
@@ -83,9 +83,9 @@
83 83
 //
84 84
 // Heaters / Fans
85 85
 //
86
-#define HEATER_0_PIN        7 // EXTRUDER 1
87
-#define HEATER_1_PIN        8 // EXTRUDER 2
88
-#define HEATER_BED_PIN      3 // BED
86
+#define HEATER_0_PIN        7   // EXTRUDER 1
87
+#define HEATER_1_PIN        8   // EXTRUDER 2
88
+#define HEATER_BED_PIN      3   // BED
89 89
 
90 90
 #define FAN_PIN             9
91 91
 
@@ -122,7 +122,7 @@
122 122
   #define BTN_EN2          -1
123 123
   #define BTN_ENC          -1
124 124
 
125
-  #define SD_DETECT_PIN    -1 // Minitronics doesn't use this
125
+  #define SD_DETECT_PIN    -1   // Minitronics doesn't use this
126 126
 #endif
127 127
 
128 128
 //
@@ -130,13 +130,13 @@
130 130
 //
131 131
 #if ENABLED(SPINDLE_LASER_ENABLE)  // assumes we're only doing CNC work (no 3D printing)
132 132
   #undef HEATER_BED_PIN
133
-  #undef TEMP_BED_PIN           // need to free up some pins but also need to
134
-  #undef TEMP_0_PIN             // re-assign them (to unused pins) because Marlin
135
-  #undef TEMP_1_PIN             // requires the presence of certain pins or else it
136
-  #define HEATER_BED_PIN      4  // won't compile
133
+  #undef TEMP_BED_PIN             // need to free up some pins but also need to
134
+  #undef TEMP_0_PIN               // re-assign them (to unused pins) because Marlin
135
+  #undef TEMP_1_PIN               // requires the presence of certain pins or else it
136
+  #define HEATER_BED_PIN      4   // won't compile
137 137
   #define TEMP_BED_PIN       50
138 138
   #define TEMP_0_PIN         51
139
-  #define SPINDLE_LASER_ENABLE_PIN      52 // using A6 because it already has a pull up on it
140
-  #define SPINDLE_LASER_PWM_PIN          3 // WARNING - LED & resistor pull up to +12/+24V stepper voltage
139
+  #define SPINDLE_LASER_ENABLE_PIN      52   // using A6 because it already has a pullup
140
+  #define SPINDLE_LASER_PWM_PIN          3   // WARNING - LED & resistor pull up to +12/+24V stepper voltage
141 141
   #define SPINDLE_DIR_PIN               53
142 142
 #endif

+ 2
- 2
Marlin/src/pins/pins_MKS_BASE.h Vedi File

@@ -43,8 +43,8 @@
43 43
 //
44 44
 // M3/M4/M5 - Spindle/Laser Control
45 45
 //
46
-#define SPINDLE_LASER_PWM_PIN     2  // MUST BE HARDWARE PWM
47
-#define SPINDLE_LASER_ENABLE_PIN 15  // Pin should have a pullup!
46
+#define SPINDLE_LASER_PWM_PIN     2   // MUST BE HARDWARE PWM
47
+#define SPINDLE_LASER_ENABLE_PIN 15   // Pin should have a pullup!
48 48
 #define SPINDLE_DIR_PIN          19
49 49
 
50 50
 #include "pins_RAMPS.h"

+ 10
- 10
Marlin/src/pins/pins_MKS_BASE_HEROIC.h Vedi File

@@ -34,13 +34,13 @@
34 34
  * the A4982 is doing quarter steps (MS1=L / MS2=H).
35 35
  */
36 36
 #define HEROIC_STEPPER_DRIVERS
37
-#define X_MS1_PIN            5  // Digital 3  / Pin 5   / PE3  / SERVO2_PIN
38
-#define X_MS2_PIN            6  // Digital 6  / Pin 14  / PH3  / SERVO1_PIN
39
-#define Y_MS1_PIN           59  // Analog 5   / Pin 92  / PF5
40
-#define Y_MS2_PIN           58  // Analog 4   / Pin 93  / PF4
41
-#define Z_MS1_PIN           22  // Digital 22 / Pin 78  / PA0
42
-#define Z_MS2_PIN           39  // Digital 39 / Pin 70  / PG2
43
-#define E0_MS1_PIN          63  // Analog 9   / Pin 86  / PK1
44
-#define E0_MS2_PIN          64  // Analog 10  / Pin 87  / PK2
45
-#define E1_MS1_PIN          57  // Analog 3   / Pin 93  / PF3
46
-#define E1_MS2_PIN           4  // Digital 4  / Pin 1   / PG5  / SERVO3_PIN
37
+#define X_MS1_PIN            5   // Digital 3  / Pin 5   / PE3  / SERVO2_PIN
38
+#define X_MS2_PIN            6   // Digital 6  / Pin 14  / PH3  / SERVO1_PIN
39
+#define Y_MS1_PIN           59   // Analog 5   / Pin 92  / PF5
40
+#define Y_MS2_PIN           58   // Analog 4   / Pin 93  / PF4
41
+#define Z_MS1_PIN           22   // Digital 22 / Pin 78  / PA0
42
+#define Z_MS2_PIN           39   // Digital 39 / Pin 70  / PG2
43
+#define E0_MS1_PIN          63   // Analog 9   / Pin 86  / PK1
44
+#define E0_MS2_PIN          64   // Analog 10  / Pin 87  / PK2
45
+#define E1_MS1_PIN          57   // Analog 3   / Pin 93  / PF3
46
+#define E1_MS2_PIN           4   // Digital 4  / Pin 1   / PG5  / SERVO3_PIN

+ 36
- 36
Marlin/src/pins/pins_MKS_SBASE.h Vedi File

@@ -44,20 +44,20 @@
44 44
 //
45 45
 // Servo pin
46 46
 //
47
-#define SERVO0_PIN         P1_23  // J8-3 (low jitter)
48
-#define SERVO1_PIN         P2_12  // J8-4
49
-#define SERVO2_PIN         P2_11  // J8-5
50
-#define SERVO3_PIN         P4_28  // J8-6
47
+#define SERVO0_PIN         P1_23   // J8-3 (low jitter)
48
+#define SERVO1_PIN         P2_12   // J8-4
49
+#define SERVO2_PIN         P2_11   // J8-5
50
+#define SERVO3_PIN         P4_28   // J8-6
51 51
 
52 52
 //
53 53
 // Limit Switches
54 54
 //
55
-#define X_MIN_PIN          P1_24  //10k pullup to 3.3V, 1K series
56
-#define X_MAX_PIN          P1_25  //10k pullup to 3.3V, 1K series
57
-#define Y_MIN_PIN          P1_26  //10k pullup to 3.3V, 1K series
58
-#define Y_MAX_PIN          P1_27  //10k pullup to 3.3V, 1K series
59
-#define Z_MIN_PIN          P1_28  //The original Mks Sbase DIO19 has a 10k pullup to 3.3V or 5V, 1K series, so when using a Zprobe we must use DIO41 (J8 P1.22)
60
-#define Z_MAX_PIN          P1_29  //10k pullup to 3.3V, 1K series
55
+#define X_MIN_PIN          P1_24   // 10k pullup to 3.3V, 1K series
56
+#define X_MAX_PIN          P1_25   // 10k pullup to 3.3V, 1K series
57
+#define Y_MIN_PIN          P1_26   // 10k pullup to 3.3V, 1K series
58
+#define Y_MAX_PIN          P1_27   // 10k pullup to 3.3V, 1K series
59
+#define Z_MIN_PIN          P1_28   // The original Mks Sbase DIO19 has a 10k pullup to 3.3V or 5V, 1K series, so when using a Zprobe we must use DIO41 (J8 P1.22)
60
+#define Z_MAX_PIN          P1_29   // 10k pullup to 3.3V, 1K series
61 61
 
62 62
 //
63 63
 // Steppers
@@ -87,10 +87,10 @@
87 87
 // 3.3V max when defined as an analog input
88 88
 //
89 89
 
90
-#define TEMP_BED_PIN        0  // A0 (TH1)
91
-#define TEMP_0_PIN          1  // A1 (TH2)
92
-#define TEMP_1_PIN          2  // A2 (TH3)
93
-#define TEMP_2_PIN          3  // A3 (TH4)
90
+#define TEMP_BED_PIN        0   // A0 (TH1)
91
+#define TEMP_0_PIN          1   // A1 (TH2)
92
+#define TEMP_1_PIN          2   // A2 (TH3)
93
+#define TEMP_2_PIN          3   // A3 (TH4)
94 94
 
95 95
 
96 96
 //
@@ -154,32 +154,32 @@
154 154
  */
155 155
 
156 156
 #if ENABLED(ULTRA_LCD)
157
-  #define BEEPER_PIN       P1_31  // EXP1.1
158
-  #define BTN_ENC          P1_30  // EXP1.2
159
-  #define BTN_EN1          P3_26  // EXP2.5
160
-  #define BTN_EN2          P3_25  // EXP2.3
161
-  #define SD_DETECT_PIN    P0_27  // EXP2.7
162
-  #define LCD_PINS_RS      P0_16  // EXP1.4
163
-  #define LCD_SDSS         P0_28  // EXP2.4
164
-  #define LCD_PINS_ENABLE  P0_18  // EXP1.3
165
-  #define LCD_PINS_D4      P0_15  // EXP1.5
157
+  #define BEEPER_PIN       P1_31   // EXP1.1
158
+  #define BTN_ENC          P1_30   // EXP1.2
159
+  #define BTN_EN1          P3_26   // EXP2.5
160
+  #define BTN_EN2          P3_25   // EXP2.3
161
+  #define SD_DETECT_PIN    P0_27   // EXP2.7
162
+  #define LCD_PINS_RS      P0_16   // EXP1.4
163
+  #define LCD_SDSS         P0_28   // EXP2.4
164
+  #define LCD_PINS_ENABLE  P0_18   // EXP1.3
165
+  #define LCD_PINS_D4      P0_15   // EXP1.5
166 166
 #endif // ULTRA_LCD
167 167
 
168 168
 //
169 169
 // Ethernet pins
170 170
 //
171 171
 #ifndef ULTIPANEL
172
-  #define ENET_MDIO        P1_17  // J12-4
173
-  #define ENET_RX_ER       P1_14  // J12-6
174
-  #define ENET_RXD1        P1_10  // J12-8
172
+  #define ENET_MDIO        P1_17   // J12-4
173
+  #define ENET_RX_ER       P1_14   // J12-6
174
+  #define ENET_RXD1        P1_10   // J12-8
175 175
 #endif
176
-#define ENET_MOC           P1_16  // J12-3
177
-#define REF_CLK            P1_15  // J12-5
178
-#define ENET_RXD0          P1_09  // J12-7
179
-#define ENET_CRS           P1_08  // J12-9
180
-#define ENET_TX_EN         P1_04  // J12-10
181
-#define ENET_TXD0          P1_00  // J12-11
182
-#define ENET_TXD1          P1_01  // J12-12
176
+#define ENET_MOC           P1_16   // J12-3
177
+#define REF_CLK            P1_15   // J12-5
178
+#define ENET_RXD0          P1_09   // J12-7
179
+#define ENET_CRS           P1_08   // J12-9
180
+#define ENET_TX_EN         P1_04   // J12-10
181
+#define ENET_TXD0          P1_00   // J12-11
182
+#define ENET_TXD1          P1_01   // J12-12
183 183
 
184 184
 //
185 185
 // Misc. Functions
@@ -190,9 +190,9 @@
190 190
 // A custom cable is needed. See the README file in the
191 191
 // Marlin\src\config\examples\Mks\Sbase directory
192 192
 
193
-#define SCK_PIN            P1_22  // J8-2 (moved from EXP2 P0.7)
194
-#define MISO_PIN           P1_23  // J8-3 (moved from EXP2 P0.8)
195
-#define MOSI_PIN           P2_12  // J8-4 (moved from EXP2 P0.5)
193
+#define SCK_PIN            P1_22   // J8-2 (moved from EXP2 P0.7)
194
+#define MISO_PIN           P1_23   // J8-3 (moved from EXP2 P0.8)
195
+#define MOSI_PIN           P2_12   // J8-4 (moved from EXP2 P0.5)
196 196
 #define SS_PIN             P0_28
197 197
 #define SD_DETECT_PIN      P0_27
198 198
 #define SDSS               P0_06

+ 9
- 9
Marlin/src/pins/pins_OMCA.h Vedi File

@@ -108,13 +108,13 @@
108 108
 #define E0_DIR_PIN         21
109 109
 #define E0_ENABLE_PIN      10
110 110
 
111
-#define E1_STEP_PIN        -1 // 21
112
-#define E1_DIR_PIN         -1 // 20
113
-#define E1_ENABLE_PIN      -1 // 19
111
+#define E1_STEP_PIN        -1   // 21
112
+#define E1_DIR_PIN         -1   // 20
113
+#define E1_ENABLE_PIN      -1   // 19
114 114
 
115
-#define E2_STEP_PIN        -1 // 21
116
-#define E2_DIR_PIN         -1 // 20
117
-#define E2_ENABLE_PIN      -1 // 18
115
+#define E2_STEP_PIN        -1   // 21
116
+#define E2_DIR_PIN         -1   // 20
117
+#define E2_ENABLE_PIN      -1   // 18
118 118
 
119 119
 //
120 120
 // Temperature Sensors
@@ -126,10 +126,10 @@
126 126
 //
127 127
 // Heaters / Fans
128 128
 //
129
-#define HEATER_0_PIN        3 // DONE PWM on RIGHT connector
129
+#define HEATER_0_PIN        3   // DONE PWM on RIGHT connector
130 130
 #define HEATER_BED_PIN      4
131 131
 
132
-#define FAN_PIN            14 // PWM on MIDDLE connector
132
+#define FAN_PIN            14   // PWM on MIDDLE connector
133 133
 
134 134
 //
135 135
 // Misc. Functions
@@ -145,4 +145,4 @@
145 145
 #define __GS  18
146 146
 #define __GD  13
147 147
 
148
-#define UNUSED_PWM         14 // PWM on LEFT connector
148
+#define UNUSED_PWM         14   // PWM on LEFT connector

+ 4
- 4
Marlin/src/pins/pins_OMCA_A.h Vedi File

@@ -107,12 +107,12 @@
107 107
 #define E0_DIR_PIN         27
108 108
 #define E0_ENABLE_PIN      24
109 109
 
110
-#define E1_STEP_PIN        -1 // 19
111
-#define E1_DIR_PIN         -1 // 18
110
+#define E1_STEP_PIN        -1   // 19
111
+#define E1_DIR_PIN         -1   // 18
112 112
 #define E1_ENABLE_PIN      24
113 113
 
114
-#define E2_STEP_PIN        -1 // 17
115
-#define E2_DIR_PIN         -1 // 16
114
+#define E2_STEP_PIN        -1   // 17
115
+#define E2_DIR_PIN         -1   // 16
116 116
 #define E2_ENABLE_PIN      24
117 117
 
118 118
 //

+ 2
- 2
Marlin/src/pins/pins_PRINTRBOARD.h Vedi File

@@ -148,8 +148,8 @@
148 148
 
149 149
     #define SDSS           43   // F5 TMS   JP2-8
150 150
 
151
-    #define STAT_LED_RED_PIN  12  // C2       JP11-14
152
-    #define STAT_LED_BLUE_PIN 10  // C0       JP11-12
151
+    #define STAT_LED_RED_PIN  12   // C2       JP11-14
152
+    #define STAT_LED_BLUE_PIN 10   // C0       JP11-12
153 153
 
154 154
   #elif ENABLED(LCD_I2C_PANELOLU2)
155 155
 

+ 16
- 16
Marlin/src/pins/pins_PRINTRBOARD_REVF.h Vedi File

@@ -218,29 +218,29 @@
218 218
 
219 219
     #define SDSS            3   // F5 TMS   JP2-8
220 220
 
221
-    #define STAT_LED_RED_PIN  12  // C2       JP11-14
222
-    #define STAT_LED_BLUE_PIN 10  // C0       JP11-12
221
+    #define STAT_LED_RED_PIN  12   // C2       JP11-14
222
+    #define STAT_LED_BLUE_PIN 10   // C0       JP11-12
223 223
 
224 224
   #elif ENABLED(MINIPANEL)
225 225
 
226 226
     #if DISABLED(USE_INTERNAL_SD)
227 227
       //      PIN       FASTIO PIN#  ATUSB90 PIN# Teensy2.0++ PIN#  Printrboard RevF Conn.   MKSLCD12864 PIN#
228
-      #define SDSS               11  //        36               C1                EXP2-13             EXP2-07
229
-      #define SD_DETECT_PIN       9  //        34               E1                EXP2-11             EXP2-04
228
+      #define SDSS          11   //      36               C1                EXP2-13             EXP2-07
229
+      #define SD_DETECT_PIN  9   //      34               E1                EXP2-11             EXP2-04
230 230
     #endif
231 231
 
232 232
     //      PIN       FASTIO PIN#  ATUSB90 PIN# Teensy2.0++ PIN#  Printrboard RevF Conn.   MKSLCD12864 PIN#
233
-    #define DOGLCD_A0       4  //        29               D4                EXP2-05             EXP1-04
234
-    #define DOGLCD_CS       5  //        30               D5                EXP2-06             EXP1-05
235
-    #define BTN_ENC         6  //        31               D6                EXP2-07             EXP1-09
236
-    #define BEEPER_PIN      7  //        32               D7                EXP2-08             EXP1-10
237
-    #define KILL_PIN        8  //        33               E0                EXP2-10             EXP2-03
238
-    #define BTN_EN1        10  //        35               C0                EXP2-12             EXP2-06
239
-    #define BTN_EN2        12  //        37               C2                EXP2-14             EXP2-08
240
-    //#define LCD_BACKLIGHT_PIN 43  //        56               F5                EXP1-12     Not Implemented
241
-    //#define SCK          21  //        11               B1                ICSP-04             EXP2-09
242
-    //#define MOSI         22  //        12               B2                ICSP-03             EXP2-05
243
-    //#define MISO         23  //        13               B3                ICSP-06             EXP2-05
233
+    #define DOGLCD_A0       4   //       29               D4                EXP2-05             EXP1-04
234
+    #define DOGLCD_CS       5   //       30               D5                EXP2-06             EXP1-05
235
+    #define BTN_ENC         6   //       31               D6                EXP2-07             EXP1-09
236
+    #define BEEPER_PIN      7   //       32               D7                EXP2-08             EXP1-10
237
+    #define KILL_PIN        8   //       33               E0                EXP2-10             EXP2-03
238
+    #define BTN_EN1        10   //       35               C0                EXP2-12             EXP2-06
239
+    #define BTN_EN2        12   //       37               C2                EXP2-14             EXP2-08
240
+    //#define LCD_BACKLIGHT_PIN 43   //    56               F5                EXP1-12     Not Implemented
241
+    //#define SCK          21   //         11               B1                ICSP-04             EXP2-09
242
+    //#define MOSI         22   //         12               B2                ICSP-03             EXP2-05
243
+    //#define MISO         23   //         13               B3                ICSP-06             EXP2-05
244 244
 
245 245
     // increase delays
246 246
     #ifndef ST7920_DELAY_1
@@ -268,7 +268,7 @@
268 268
 //
269 269
 //      PIN       FASTIO PIN#  ATUSB90 PIN# Teensy2.0++ PIN#  Printrboard RevF Conn.
270 270
 #ifndef SDSS
271
-  #define SDSS             20  //        10               B0
271
+  #define SDSS             20   //       10               B0
272 272
 #endif
273 273
 
274 274
 /**

+ 4
- 4
Marlin/src/pins/pins_RADDS.h Vedi File

@@ -113,9 +113,9 @@
113 113
 //#define E3_MS1_PIN         67
114 114
 //#define E3_MS2_PIN         68
115 115
 //#define E3_MS3_PIN         69
116
-//#define Z2_MS1_PIN         67 // shared with E3_MS1_PIN
117
-//#define Z2_MS2_PIN         68 // shared with E3_MS2_PIN
118
-//#define Z2_MS3_PIN         69 // shared with E3_MS3_PIN
116
+//#define Z2_MS1_PIN         67   // shared with E3_MS1_PIN
117
+//#define Z2_MS2_PIN         68   // shared with E3_MS2_PIN
118
+//#define Z2_MS3_PIN         69   // shared with E3_MS3_PIN
119 119
 
120 120
 //
121 121
 // Temperature Sensors
@@ -140,7 +140,7 @@
140 140
 #define HEATER_0_PIN       13
141 141
 #define HEATER_1_PIN       12
142 142
 #define HEATER_2_PIN       11
143
-#define HEATER_BED_PIN      7 // BED
143
+#define HEATER_BED_PIN      7   // BED
144 144
 
145 145
 #define FAN_PIN             9
146 146
 #define FAN1_PIN            8

+ 21
- 21
Marlin/src/pins/pins_RAMBO.h Vedi File

@@ -49,10 +49,10 @@
49 49
 //
50 50
 // Servos
51 51
 //
52
-#define SERVO0_PIN         22 // Motor header MX1
53
-#define SERVO1_PIN         23 // Motor header MX2
54
-#define SERVO2_PIN         24 // Motor header MX3
55
-#define SERVO3_PIN          5 // PWM header pin 5
52
+#define SERVO0_PIN         22   // Motor header MX1
53
+#define SERVO1_PIN         23   // Motor header MX2
54
+#define SERVO2_PIN         24   // Motor header MX3
55
+#define SERVO3_PIN          5   // PWM header pin 5
56 56
 
57 57
 //
58 58
 // Limit Switches
@@ -107,7 +107,7 @@
107 107
 #define E1_MS2_PIN         64
108 108
 
109 109
 #define DIGIPOTSS_PIN      38
110
-#define DIGIPOT_CHANNELS {4,5,3,0,1} // X Y Z E0 E1 digipot channels to stepper driver mapping
110
+#define DIGIPOT_CHANNELS  { 4,5,3,0,1 }   // X Y Z E0 E1 digipot channels to stepper driver mapping
111 111
 #ifndef DIGIPOT_MOTOR_CURRENT
112 112
   #define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
113 113
 #endif
@@ -146,8 +146,8 @@
146 146
 //
147 147
 // M3/M4/M5 - Spindle/Laser Control
148 148
 //
149
-#define SPINDLE_LASER_PWM_PIN    45  // MUST BE HARDWARE PWM
150
-#define SPINDLE_LASER_ENABLE_PIN 31  // Pin should have a pullup!
149
+#define SPINDLE_LASER_PWM_PIN    45   // MUST BE HARDWARE PWM
150
+#define SPINDLE_LASER_ENABLE_PIN 31   // Pin should have a pullup!
151 151
 #define SPINDLE_DIR_PIN          32
152 152
 
153 153
 //
@@ -155,14 +155,14 @@
155 155
 //
156 156
 #define E_MUX0_PIN         17
157 157
 #define E_MUX1_PIN         16
158
-#define E_MUX2_PIN         84 // 84 in MK2 Firmware
158
+#define E_MUX2_PIN         84   // 84 in MK2 Firmware
159 159
 
160 160
 //
161 161
 // LCD / Controller
162 162
 //
163 163
 #if ENABLED(ULTRA_LCD)
164 164
 
165
-  #define KILL_PIN 80
165
+  #define KILL_PIN         80
166 166
 
167 167
   #if ENABLED(NEWPANEL)
168 168
 
@@ -174,32 +174,32 @@
174 174
     #define LCD_PINS_D7     75
175 175
 
176 176
     #if ENABLED(VIKI2) || ENABLED(miniVIKI)
177
-      #define BEEPER_PIN 44
177
+      #define BEEPER_PIN   44
178 178
       // NB: Panucatt's Viki 2.0 wiring diagram (v1.2) indicates that the
179 179
       //     beeper/buzzer is connected to pin 33; however, the pin used in the
180 180
       //     diagram is actually pin 44, so this is correct.
181 181
 
182
-      #define DOGLCD_A0  70
183
-      #define DOGLCD_CS  71
182
+      #define DOGLCD_A0    70
183
+      #define DOGLCD_CS    71
184 184
       #define LCD_SCREEN_ROT_180
185 185
 
186
-      #define BTN_EN1 85
187
-      #define BTN_EN2 84
188
-      #define BTN_ENC 83
186
+      #define BTN_EN1      85
187
+      #define BTN_EN2      84
188
+      #define BTN_ENC      83
189 189
 
190
-      #define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
190
+      #define SD_DETECT_PIN -1   // Pin 72 if using easy adapter board
191 191
 
192 192
       #define STAT_LED_RED_PIN 22
193 193
       #define STAT_LED_BLUE_PIN 32
194 194
 
195 195
     #else // !VIKI2 && !miniVIKI
196 196
 
197
-      #define BEEPER_PIN 79 // AUX-4
197
+      #define BEEPER_PIN   79   // AUX-4
198 198
 
199 199
       // AUX-2
200
-      #define BTN_EN1 76
201
-      #define BTN_EN2 77
202
-      #define BTN_ENC 78
200
+      #define BTN_EN1      76
201
+      #define BTN_EN2      77
202
+      #define BTN_ENC      78
203 203
 
204 204
       #define SD_DETECT_PIN 81
205 205
 
@@ -208,7 +208,7 @@
208 208
   #else // !NEWPANEL - old style panel with shift register
209 209
 
210 210
     // No Beeper added
211
-    #define BEEPER_PIN 33
211
+    #define BEEPER_PIN     33
212 212
 
213 213
     // buttons are attached to a shift register
214 214
     // Not wired yet

+ 25
- 37
Marlin/src/pins/pins_RAMPS.h Vedi File

@@ -44,16 +44,8 @@
44 44
  *         7 | 11
45 45
  */
46 46
 
47
-#if ENABLED(TARGET_LPC1768)
48
-  #error "Oops!  Set MOTHERBOARD to an LPC1768-based board when building for LPC1768."
49
-#elif defined(__STM32F1__)
50
-  #error "Oops!  Set MOTHERBOARD to an STM32F1-based board when building for STM32F1."
51
-#endif
52
-
53
-#if DISABLED(IS_RAMPS_SMART) && DISABLED(IS_RAMPS_DUO) && DISABLED(IS_RAMPS4DUE) && DISABLED(TARGET_LPC1768)
54
-  #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
55
-    #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
56
-  #endif
47
+#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
48
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
57 49
 #endif
58 50
 
59 51
 #ifndef BOARD_NAME
@@ -64,7 +56,7 @@
64 56
 // Servos
65 57
 //
66 58
 #ifdef IS_RAMPS_13
67
-  #define SERVO0_PIN        7 // RAMPS_13 // Will conflict with BTN_EN2 on LCD_I2C_VIKI
59
+  #define SERVO0_PIN        7   // RAMPS_13 // Will conflict with BTN_EN2 on LCD_I2C_VIKI
68 60
 #else
69 61
   #define SERVO0_PIN       11
70 62
 #endif
@@ -205,9 +197,9 @@
205 197
 
206 198
 // SPI for Max6675 or Max31855 Thermocouple
207 199
 #if DISABLED(SDSUPPORT)
208
-  #define MAX6675_SS       66 // Do not use pin 53 if there is even the remote possibility of using Display/SD card
200
+  #define MAX6675_SS       66   // Do not use pin 53 if there is even the remote possibility of using Display/SD card
209 201
 #else
210
-  #define MAX6675_SS       66 // Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
202
+  #define MAX6675_SS       66   // Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
211 203
 #endif
212 204
 
213 205
 //
@@ -294,10 +286,10 @@
294 286
 
295 287
 #if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENABLE_PIN)
296 288
   #if NUM_SERVOS <= 1 // try to use servo connector first
297
-    #define CASE_LIGHT_PIN   6      // MUST BE HARDWARE PWM
289
+    #define CASE_LIGHT_PIN    6   // MUST BE HARDWARE PWM
298 290
   #elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \
299 291
       && (ENABLED(PANEL_ONE) || ENABLED(VIKI2) || ENABLED(miniVIKI) || ENABLED(MINIPANEL) || ENABLED(REPRAPWORLD_KEYPAD)))  // try to use AUX 2
300
-    #define CASE_LIGHT_PIN   44     // MUST BE HARDWARE PWM
292
+    #define CASE_LIGHT_PIN   44   // MUST BE HARDWARE PWM
301 293
   #endif
302 294
 #endif
303 295
 
@@ -306,13 +298,13 @@
306 298
 //
307 299
 #if ENABLED(SPINDLE_LASER_ENABLE) && !PIN_EXISTS(SPINDLE_LASER_ENABLE)
308 300
   #if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // try to use servo connector first
309
-    #define SPINDLE_LASER_ENABLE_PIN  4  // Pin should have a pullup/pulldown!
310
-    #define SPINDLE_LASER_PWM_PIN     6  // MUST BE HARDWARE PWM
301
+    #define SPINDLE_LASER_ENABLE_PIN  4   // Pin should have a pullup/pulldown!
302
+    #define SPINDLE_LASER_PWM_PIN     6   // MUST BE HARDWARE PWM
311 303
     #define SPINDLE_DIR_PIN           5
312 304
   #elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \
313 305
       && (ENABLED(PANEL_ONE) || ENABLED(VIKI2) || ENABLED(miniVIKI) || ENABLED(MINIPANEL) || ENABLED(REPRAPWORLD_KEYPAD)))  // try to use AUX 2
314
-    #define SPINDLE_LASER_ENABLE_PIN 40  // Pin should have a pullup/pulldown!
315
-    #define SPINDLE_LASER_PWM_PIN    44  // MUST BE HARDWARE PWM
306
+    #define SPINDLE_LASER_ENABLE_PIN 40   // Pin should have a pullup/pulldown!
307
+    #define SPINDLE_LASER_PWM_PIN    44   // MUST BE HARDWARE PWM
316 308
     #define SPINDLE_DIR_PIN          65
317 309
   #endif
318 310
 #endif
@@ -341,9 +333,9 @@
341 333
   //
342 334
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
343 335
 
344
-    #define LCD_PINS_RS         49 // CS chip select /SS chip slave select
345
-    #define LCD_PINS_ENABLE     51 // SID (MOSI)
346
-    #define LCD_PINS_D4         52 // SCK (CLK) clock
336
+    #define LCD_PINS_RS         49   // CS chip select /SS chip slave select
337
+    #define LCD_PINS_ENABLE     51   // SID (MOSI)
338
+    #define LCD_PINS_D4         52   // SCK (CLK) clock
347 339
 
348 340
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
349 341
 
@@ -378,8 +370,8 @@
378 370
     #else
379 371
 
380 372
       #if ENABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
381
-        #define LCD_PINS_DC     25 // Set as output on init
382
-        #define LCD_PINS_RS     27 // Pull low for 1s to init
373
+        #define LCD_PINS_DC     25   // Set as output on init
374
+        #define LCD_PINS_RS     27   // Pull low for 1s to init
383 375
         // DOGM SPI LCD Support
384 376
         #define DOGLCD_CS       16
385 377
         #define DOGLCD_MOSI     17
@@ -454,8 +446,8 @@
454 446
 
455 447
     #elif ENABLED(LCD_I2C_VIKI)
456 448
 
457
-      #define BTN_EN1           22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
458
-      #define BTN_EN2            7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
449
+      #define BTN_EN1           22   // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
450
+      #define BTN_EN2            7   // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
459 451
       #define BTN_ENC           -1
460 452
 
461 453
       #define LCD_SDSS          53
@@ -476,7 +468,7 @@
476 468
       #define BTN_ENC           39
477 469
 
478 470
       #define SDSS              53
479
-      #define SD_DETECT_PIN     -1 // Pin 49 for display sd interface, 72 for easy adapter board
471
+      #define SD_DETECT_PIN     -1   // Pin 49 for display sd interface, 72 for easy adapter board
480 472
       #define KILL_PIN          31
481 473
 
482 474
     #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
@@ -495,7 +487,7 @@
495 487
       #define SD_DETECT_PIN     49
496 488
       #define KILL_PIN          41
497 489
 
498
-    #elif ENABLED(MKS_MINI_12864)  // Added in Marlin 1.1.6
490
+    #elif ENABLED(MKS_MINI_12864)   // Added in Marlin 1.1.6
499 491
 
500 492
       #define DOGLCD_A0         27
501 493
       #define DOGLCD_CS         25
@@ -509,7 +501,7 @@
509 501
 
510 502
       #define BEEPER_PIN        37
511 503
       // not connected to a pin
512
-      #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
504
+      #define LCD_BACKLIGHT_PIN 65   // backlight LED on A11/D65
513 505
 
514 506
       #define BTN_EN1           31
515 507
       #define BTN_EN2           33
@@ -523,7 +515,7 @@
523 515
 
524 516
       #define BEEPER_PIN        42
525 517
       // not connected to a pin
526
-      #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
518
+      #define LCD_BACKLIGHT_PIN 65   // backlight LED on A11/D65
527 519
 
528 520
       #define DOGLCD_A0         44
529 521
       #define DOGLCD_CS         66
@@ -547,10 +539,6 @@
547 539
 
548 540
       #define ADC_KEYPAD_PIN    12
549 541
 
550
-    #elif ENABLED(AZSMZ_12864)
551
-
552
-      // Pins only defined for RAMPS_SMART currently
553
-
554 542
     #else
555 543
 
556 544
       // Beeper on AUX-4
@@ -565,9 +553,9 @@
565 553
         #define BTN_EN2         59
566 554
         #define BTN_ENC         63
567 555
       #elif ENABLED(PANEL_ONE)
568
-        #define BTN_EN1         59 // AUX2 PIN 3
569
-        #define BTN_EN2         63 // AUX2 PIN 4
570
-        #define BTN_ENC         49 // AUX3 PIN 7
556
+        #define BTN_EN1         59   // AUX2 PIN 3
557
+        #define BTN_EN2         63   // AUX2 PIN 4
558
+        #define BTN_ENC         49   // AUX3 PIN 7
571 559
       #else
572 560
         #define BTN_EN1         37
573 561
         #define BTN_EN2         35

+ 6
- 6
Marlin/src/pins/pins_RAMPS_DUO.h Vedi File

@@ -68,9 +68,9 @@
68 68
 // SPI for Max6675 or Max31855 Thermocouple
69 69
 #undef MAX6675_SS
70 70
 #if DISABLED(SDSUPPORT)
71
-  #define MAX6675_SS       69 // Do not use pin 53 if there is even the remote possibility of using Display/SD card
71
+  #define MAX6675_SS       69   // Do not use pin 53 if there is even the remote possibility of using Display/SD card
72 72
 #else
73
-  #define MAX6675_SS       69 // Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
73
+  #define MAX6675_SS       69   // Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
74 74
 #endif
75 75
 
76 76
 //
@@ -105,7 +105,7 @@
105 105
       #define DOGLCD_CS    69
106 106
 
107 107
       #undef LCD_BACKLIGHT_PIN
108
-      #define LCD_BACKLIGHT_PIN 68 // backlight LED on A14/D68
108
+      #define LCD_BACKLIGHT_PIN 68   // backlight LED on A14/D68
109 109
 
110 110
       #undef KILL_PIN
111 111
       #define KILL_PIN     67
@@ -117,13 +117,13 @@
117 117
 
118 118
       #if ENABLED(REPRAPWORLD_KEYPAD)
119 119
         #undef BTN_EN1
120
-        #define BTN_EN1    67 // encoder
120
+        #define BTN_EN1    67   // encoder
121 121
 
122 122
         #undef BTN_ENC
123
-        #define BTN_ENC    66 // enter button
123
+        #define BTN_ENC    66   // enter button
124 124
       #elif ENABLED(PANEL_ONE)
125 125
         #undef BTN_EN2
126
-        #define BTN_EN2    66 // AUX2 PIN 4
126
+        #define BTN_EN2    66   // AUX2 PIN 4
127 127
       #endif
128 128
     #endif
129 129
 

+ 16
- 16
Marlin/src/pins/pins_RAMPS_FD_V1.h Vedi File

@@ -142,24 +142,24 @@
142 142
 #if ENABLED(ULTRA_LCD)
143 143
   // ramps-fd lcd adaptor
144 144
 
145
-  #define BEEPER_PIN          37
146
-  #define BTN_EN1             33
147
-  #define BTN_EN2             31
148
-  #define BTN_ENC             35
149
-  #define SD_DETECT_PIN       49
145
+  #define BEEPER_PIN       37
146
+  #define BTN_EN1          33
147
+  #define BTN_EN2          31
148
+  #define BTN_ENC          35
149
+  #define SD_DETECT_PIN    49
150 150
 
151 151
   #if ENABLED(NEWPANEL)
152
-    #define LCD_PINS_RS         16
153
-    #define LCD_PINS_ENABLE     17
154
-    #define LCD_PINS_D4         23
155
-    #define LCD_PINS_D5         25
156
-    #define LCD_PINS_D6         27
157
-    #define LCD_PINS_D7         29
152
+    #define LCD_PINS_RS    16
153
+    #define LCD_PINS_ENABLE 17
154
+    #define LCD_PINS_D4    23
155
+    #define LCD_PINS_D5    25
156
+    #define LCD_PINS_D6    27
157
+    #define LCD_PINS_D7    29
158 158
   #endif
159 159
 
160 160
   #if ENABLED(MINIPANEL)
161
-    #define DOGLCD_CS           25
162
-    #define DOGLCD_A0           27
161
+    #define DOGLCD_CS      25
162
+    #define DOGLCD_A0      27
163 163
   #endif
164 164
 #endif // ULTRA_LCD
165 165
 
@@ -188,8 +188,8 @@
188 188
 //
189 189
 #if ENABLED(SPINDLE_LASER_ENABLE) && !PIN_EXISTS(SPINDLE_LASER_ENABLE)
190 190
   #if HOTENDS < 3
191
-    #define SPINDLE_LASER_ENABLE_PIN  45  // Use E2 ENA
192
-    #define SPINDLE_LASER_PWM_PIN     12  // MUST BE HARDWARE PWM
193
-    #define SPINDLE_DIR_PIN           47 // Use E2 DIR
191
+    #define SPINDLE_LASER_ENABLE_PIN  45   // Use E2 ENA
192
+    #define SPINDLE_LASER_PWM_PIN     12   // MUST BE HARDWARE PWM
193
+    #define SPINDLE_DIR_PIN           47   // Use E2 DIR
194 194
   #endif
195 195
 #endif

+ 5
- 5
Marlin/src/pins/pins_RAMPS_OLD.h Vedi File

@@ -77,9 +77,9 @@
77 77
 
78 78
 // SPI for Max6675 or Max31855 Thermocouple
79 79
 #if DISABLED(SDSUPPORT)
80
-  #define MAX6675_SS       66 // Do not use pin 53 if there is even the remote possibility of using Display/SD card
80
+  #define MAX6675_SS       66   // Do not use pin 53 if there is even the remote possibility of using Display/SD card
81 81
 #else
82
-  #define MAX6675_SS       66 // Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
82
+  #define MAX6675_SS       66   // Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
83 83
 #endif
84 84
 
85 85
 //
@@ -101,11 +101,11 @@
101 101
 #define SDPOWER            48
102 102
 #define SDSS               53
103 103
 #define LED_PIN            13
104
-#define CASE_LIGHT_PIN     45     // MUST BE HARDWARE PWM
104
+#define CASE_LIGHT_PIN     45   // MUST BE HARDWARE PWM
105 105
 
106 106
 //
107 107
 // M3/M4/M5 - Spindle/Laser Control
108 108
 //
109
-#define SPINDLE_LASER_ENABLE_PIN 41  // Pin should have a pullup/pulldown!
110
-#define SPINDLE_LASER_PWM_PIN    45  // MUST BE HARDWARE PWM
109
+#define SPINDLE_LASER_ENABLE_PIN 41   // Pin should have a pullup/pulldown!
110
+#define SPINDLE_LASER_PWM_PIN    45   // MUST BE HARDWARE PWM
111 111
 #define SPINDLE_DIR_PIN          43

+ 106
- 107
Marlin/src/pins/pins_RAMPS_RE_ARM.h Vedi File

@@ -47,62 +47,62 @@
47 47
 //
48 48
 // Servos
49 49
 //
50
-#define SERVO0_PIN         P1_20  // (11)
51
-#define SERVO1_PIN         P1_21  // ( 6) also on J5-1
52
-#define SERVO2_PIN         P1_19  // ( 5)
53
-#define SERVO3_PIN         P1_18  // ( 4) 5V output
50
+#define SERVO0_PIN         P1_20   // (11)
51
+#define SERVO1_PIN         P1_21   // ( 6) also on J5-1
52
+#define SERVO2_PIN         P1_19   // ( 5)
53
+#define SERVO3_PIN         P1_18   // ( 4) 5V output
54 54
 
55 55
 //
56 56
 // Limit Switches
57 57
 //
58
-#define X_MIN_PIN          P1_24  // ( 3) 10k pullup to 3.3V, 1K series
59
-#define X_MAX_PIN          P1_25  // ( 2) 10k pullup to 3.3V, 1K series
60
-#define Y_MIN_PIN          P1_26  // (14) 10k pullup to 3.3V, 1K series
61
-#define Y_MAX_PIN          P1_27  // (15) 10k pullup to 3.3V, 1K series
62
-#define Z_MIN_PIN          P1_29  // (18) 10k pullup to 3.3V, 1K series
63
-#define Z_MAX_PIN          P1_28  // (19) 10k pullup to 3.3V, 1K series
58
+#define X_MIN_PIN          P1_24   // ( 3) 10k pullup to 3.3V, 1K series
59
+#define X_MAX_PIN          P1_25   // ( 2) 10k pullup to 3.3V, 1K series
60
+#define Y_MIN_PIN          P1_26   // (14) 10k pullup to 3.3V, 1K series
61
+#define Y_MAX_PIN          P1_27   // (15) 10k pullup to 3.3V, 1K series
62
+#define Z_MIN_PIN          P1_29   // (18) 10k pullup to 3.3V, 1K series
63
+#define Z_MAX_PIN          P1_28   // (19) 10k pullup to 3.3V, 1K series
64 64
 
65 65
 //
66 66
 // Steppers
67 67
 //
68
-#define X_STEP_PIN         P2_01  // (54)
69
-#define X_DIR_PIN          P0_11  // (55)
70
-#define X_ENABLE_PIN       P0_10  // (38)
68
+#define X_STEP_PIN         P2_01   // (54)
69
+#define X_DIR_PIN          P0_11   // (55)
70
+#define X_ENABLE_PIN       P0_10   // (38)
71 71
 #ifndef X_CS_PIN
72
-  #define X_CS_PIN         P1_01  // ETH
72
+  #define X_CS_PIN         P1_01   // ETH
73 73
 #endif
74 74
 
75
-#define Y_STEP_PIN         P2_02  // (60)
76
-#define Y_DIR_PIN          P0_20  // (61)
77
-#define Y_ENABLE_PIN       P0_19  // (56)
75
+#define Y_STEP_PIN         P2_02   // (60)
76
+#define Y_DIR_PIN          P0_20   // (61)
77
+#define Y_ENABLE_PIN       P0_19   // (56)
78 78
 #ifndef Y_CS_PIN
79
-  #define Y_CS_PIN         P1_04  // ETH
79
+  #define Y_CS_PIN         P1_04   // ETH
80 80
 #endif
81 81
 
82
-#define Z_STEP_PIN         P2_03  // (46)
83
-#define Z_DIR_PIN          P0_22  // (48)
84
-#define Z_ENABLE_PIN       P0_21  // (62)
82
+#define Z_STEP_PIN         P2_03   // (46)
83
+#define Z_DIR_PIN          P0_22   // (48)
84
+#define Z_ENABLE_PIN       P0_21   // (62)
85 85
 #ifndef Z_CS_PIN
86
-  #define Z_CS_PIN         P1_10  // ETH
86
+  #define Z_CS_PIN         P1_10   // ETH
87 87
 #endif
88 88
 
89
-#define E0_STEP_PIN        P2_00  // (26)
90
-#define E0_DIR_PIN         P0_05  // (28)
91
-#define E0_ENABLE_PIN      P0_04  // (24)
89
+#define E0_STEP_PIN        P2_00   // (26)
90
+#define E0_DIR_PIN         P0_05   // (28)
91
+#define E0_ENABLE_PIN      P0_04   // (24)
92 92
 #ifndef E0_CS_PIN
93
-  #define E0_CS_PIN        P1_14  // ETH
93
+  #define E0_CS_PIN        P1_14   // ETH
94 94
 #endif
95 95
 
96
-#define E1_STEP_PIN        P2_08  // (36)
97
-#define E1_DIR_PIN         P2_13  // (34)
98
-#define E1_ENABLE_PIN      P4_29  // (30)
96
+#define E1_STEP_PIN        P2_08   // (36)
97
+#define E1_DIR_PIN         P2_13   // (34)
98
+#define E1_ENABLE_PIN      P4_29   // (30)
99 99
 #ifndef E1_CS_PIN
100 100
   #define E1_CS_PIN        -1
101 101
 #endif
102 102
 
103
-//#define E2_STEP_PIN        P2_08  // (36)
104
-//#define E2_DIR_PIN         P2_13  // (34)
105
-//#define E2_ENABLE_PIN      P4_29  // (30)
103
+//#define E2_STEP_PIN        P2_08   // (36)
104
+//#define E2_DIR_PIN         P2_13   // (34)
105
+//#define E2_ENABLE_PIN      P4_29   // (30)
106 106
 //#ifndef E2_CS_PIN
107 107
 //  #define E2_CS_PIN        -1
108 108
 //#endif
@@ -111,24 +111,23 @@
111 111
 // Software SPI pins for TMC2130 stepper drivers
112 112
 //
113 113
 #if ENABLED(TMC_USE_SW_SPI)
114
-  #define TMC_SW_MOSI      P1_00  // ETH
115
-  #define TMC_SW_MISO      P1_08  // ETH
116
-  #define TMC_SW_SCK       P1_09  // ETH
114
+  #define TMC_SW_MOSI      P1_00   // ETH
115
+  #define TMC_SW_MISO      P1_08   // ETH
116
+  #define TMC_SW_SCK       P1_09   // ETH
117 117
 #endif
118 118
 
119 119
 //
120 120
 // Temperature Sensors
121 121
 //  3.3V max when defined as an analog input
122 122
 //
123
-#define TEMP_0_PIN         0  //A0 (T0) - (67) - TEMP_0_PIN
124
-#define TEMP_BED_PIN       1  //A1 (T1) - (68) - TEMP_BED_PIN
125
-#define TEMP_1_PIN         2  //A2 (T2) - (69) - TEMP_1_PIN
126
-#define TEMP_2_PIN         3  //A3 - (63) - J5-3 & AUX-2
127
-#define TEMP_3_PIN         4  //A4 - (37) - BUZZER_PIN
128
-//#define TEMP_4_PIN         5  //A5 - (49) - SD_DETECT_PIN
129
-//#define ??               6  //A6 - ( 0)  - RXD0 - J4-4 & AUX-1
130
-#define FILWIDTH_PIN       7  //A7 - ( 1)  - TXD0 - J4-5 & AUX-1
131
-
123
+#define TEMP_0_PIN         0   // A0 (T0) - (67) - TEMP_0_PIN
124
+#define TEMP_BED_PIN       1   // A1 (T1) - (68) - TEMP_BED_PIN
125
+#define TEMP_1_PIN         2   // A2 (T2) - (69) - TEMP_1_PIN
126
+#define TEMP_2_PIN         3   // A3 - (63) - J5-3 & AUX-2
127
+#define TEMP_3_PIN         4   // A4 - (37) - BUZZER_PIN
128
+//#define TEMP_4_PIN         5  // A5 - (49) - SD_DETECT_PIN
129
+//#define ??               6   // A6 - ( 0)  - RXD0 - J4-4 & AUX-1
130
+#define FILWIDTH_PIN       7   // A7 - ( 1)  - TXD0 - J4-5 & AUX-1
132 131
 
133 132
 //
134 133
 // Augmentation for auto-assigning RAMPS plugs
@@ -154,13 +153,13 @@
154 153
   #define MOSFET_D_PIN   -1
155 154
 #endif
156 155
 #ifndef RAMPS_D8_PIN
157
-  #define RAMPS_D8_PIN   P2_07 // (8)
156
+  #define RAMPS_D8_PIN   P2_07   // (8)
158 157
 #endif
159 158
 #ifndef RAMPS_D9_PIN
160
-  #define RAMPS_D9_PIN   P2_04 // (9)
159
+  #define RAMPS_D9_PIN   P2_04   // (9)
161 160
 #endif
162 161
 #ifndef RAMPS_D10_PIN
163
-  #define RAMPS_D10_PIN  P2_05 // (10)
162
+  #define RAMPS_D10_PIN  P2_05   // (10)
164 163
 #endif
165 164
 
166 165
 #define HEATER_0_PIN     RAMPS_D10_PIN
@@ -190,25 +189,25 @@
190 189
 #endif
191 190
 
192 191
 #ifndef FAN_PIN
193
-  #define FAN_PIN         P1_18  // (4) IO pin. Buffer needed
192
+  #define FAN_PIN         P1_18   // (4) IO pin. Buffer needed
194 193
 #endif
195 194
 
196 195
 //
197 196
 // Misc. Functions
198 197
 //
199
-#define LED_PIN           P4_28  // (13)
200
-#define SDSS              P1_23  // (53)
198
+#define LED_PIN           P4_28   // (13)
199
+#define SDSS              P1_23   // (53)
201 200
 
202 201
 // define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
203 202
 #ifndef FIL_RUNOUT_PIN
204
-  #define FIL_RUNOUT_PIN  P1_18  // (4)
203
+  #define FIL_RUNOUT_PIN  P1_18   // (4)
205 204
 #endif
206 205
 
207
-#define PS_ON_PIN         P2_12  // (12)
206
+#define PS_ON_PIN         P2_12   // (12)
208 207
 
209 208
 #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN)
210
-  #if !defined(NUM_SERVOS) || NUM_SERVOS < 4 // try to use servo connector
211
-    #define CASE_LIGHT_PIN    P1_18 // (4) MUST BE HARDWARE PWM
209
+  #if !defined(NUM_SERVOS) || NUM_SERVOS < 4   // try to use servo connector
210
+    #define CASE_LIGHT_PIN    P1_18   // (4) MUST BE HARDWARE PWM
212 211
   #endif
213 212
 #endif
214 213
 
@@ -256,76 +255,76 @@
256 255
 
257 256
 #if ENABLED(ULTRA_LCD)
258 257
 
259
-  #define BEEPER_PIN          P1_30  // (37) not 5V tolerant
258
+  #define BEEPER_PIN          P1_30   // (37) not 5V tolerant
260 259
 
261
-  #define BTN_EN1             P3_26  // (31) J3-2 & AUX-4
262
-  #define BTN_EN2             P3_25  // (33) J3-4 & AUX-4
263
-  #define BTN_ENC             P2_11  // (35) J3-3 & AUX-4
260
+  #define BTN_EN1             P3_26   // (31) J3-2 & AUX-4
261
+  #define BTN_EN2             P3_25   // (33) J3-4 & AUX-4
262
+  #define BTN_ENC             P2_11   // (35) J3-3 & AUX-4
264 263
 
265
-  #define SD_DETECT_PIN       P1_31  // (49) not 5V tolerant   J3-1 & AUX-3
266
-  #define KILL_PIN            P1_22  // (41) J5-4 & AUX-4
267
-  #define LCD_PINS_RS         P0_16  // (16) J3-7 & AUX-4
268
-  #define LCD_SDSS            P0_16  // (16) J3-7 & AUX-4
269
-  #define LCD_BACKLIGHT_PIN   P0_16  // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
270
-  #define LCD_PINS_ENABLE     P0_18  // (51) (MOSI) J3-10 & AUX-3
271
-  #define LCD_PINS_D4         P0_15  // (52) (SCK)  J3-9 & AUX-3
264
+  #define SD_DETECT_PIN       P1_31   // (49) not 5V tolerant   J3-1 & AUX-3
265
+  #define KILL_PIN            P1_22   // (41) J5-4 & AUX-4
266
+  #define LCD_PINS_RS         P0_16   // (16) J3-7 & AUX-4
267
+  #define LCD_SDSS            P0_16   // (16) J3-7 & AUX-4
268
+  #define LCD_BACKLIGHT_PIN   P0_16   // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
269
+  #define LCD_PINS_ENABLE     P0_18   // (51) (MOSI) J3-10 & AUX-3
270
+  #define LCD_PINS_D4         P0_15   // (52) (SCK)  J3-9 & AUX-3
272 271
 
273
-  #define DOGLCD_A0           P2_06  // (59) J3-8 & AUX-2
274
-  #define DOGLCD_CS           P0_26  // (63) J5-3 & AUX-2
272
+  #define DOGLCD_A0           P2_06   // (59) J3-8 & AUX-2
273
+  #define DOGLCD_CS           P0_26   // (63) J5-3 & AUX-2
275 274
 
276 275
   #ifdef ULTIPANEL
277
-    #define LCD_PINS_D5       P1_17  // (71) ENET_MDIO
278
-    #define LCD_PINS_D6       P1_14  // (73) ENET_RX_ER
279
-    #define LCD_PINS_D7       P1_10  // (75) ENET_RXD1
276
+    #define LCD_PINS_D5       P1_17   // (71) ENET_MDIO
277
+    #define LCD_PINS_D6       P1_14   // (73) ENET_RX_ER
278
+    #define LCD_PINS_D7       P1_10   // (75) ENET_RXD1
280 279
   #endif
281 280
 
282 281
   #if ENABLED(NEWPANEL)
283 282
     #if ENABLED(REPRAPWORLD_KEYPAD)
284
-      #define SHIFT_OUT         P0_18  // (51)  (MOSI) J3-10 & AUX-3
285
-      #define SHIFT_CLK         P0_15  // (52)  (SCK)  J3-9 & AUX-3
286
-      #define SHIFT_LD          P1_31  // (49)  not 5V tolerant   J3-1 & AUX-3
283
+      #define SHIFT_OUT         P0_18   // (51)  (MOSI) J3-10 & AUX-3
284
+      #define SHIFT_CLK         P0_15   // (52)  (SCK)  J3-9 & AUX-3
285
+      #define SHIFT_LD          P1_31   // (49)  not 5V tolerant   J3-1 & AUX-3
287 286
     #endif
288 287
   #else
289
-    //#define SHIFT_CLK           P3_26  // (31)  J3-2 & AUX-4
290
-    //#define SHIFT_LD            P3_25  // (33)  J3-4 & AUX-4
291
-    //#define SHIFT_OUT           P2_11  // (35)  J3-3 & AUX-4
292
-    //#define SHIFT_EN            P1_22  // (41)  J5-4 & AUX-4
288
+    //#define SHIFT_CLK           P3_26   // (31)  J3-2 & AUX-4
289
+    //#define SHIFT_LD            P3_25   // (33)  J3-4 & AUX-4
290
+    //#define SHIFT_OUT           P2_11   // (35)  J3-3 & AUX-4
291
+    //#define SHIFT_EN            P1_22   // (41)  J5-4 & AUX-4
293 292
   #endif
294 293
 
295 294
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
296 295
     // #define LCD_SCREEN_ROT_180
297 296
 
298 297
     #undef  BEEPER_PIN
299
-    #define BEEPER_PIN          P1_30  // (37) may change if cable changes
298
+    #define BEEPER_PIN          P1_30   // (37) may change if cable changes
300 299
 
301
-    #define BTN_EN1             P3_26  // (31) J3-2 & AUX-4
302
-    #define BTN_EN2             P3_25  // (33) J3-4 & AUX-4
303
-    #define BTN_ENC             P2_11  // (35) J3-3 & AUX-4
300
+    #define BTN_EN1             P3_26   // (31) J3-2 & AUX-4
301
+    #define BTN_EN2             P3_25   // (33) J3-4 & AUX-4
302
+    #define BTN_ENC             P2_11   // (35) J3-3 & AUX-4
304 303
 
305
-    #define SD_DETECT_PIN       P1_31  // (49) not 5V tolerant   J3-1 & AUX-3
306
-    #define KILL_PIN            P1_22  // (41) J5-4 & AUX-4
304
+    #define SD_DETECT_PIN       P1_31   // (49) not 5V tolerant   J3-1 & AUX-3
305
+    #define KILL_PIN            P1_22   // (41) J5-4 & AUX-4
307 306
 
308 307
     #undef  DOGLCD_CS
309 308
     #define DOGLCD_CS           P0_16   // (16)
310
-    #undef  LCD_BACKLIGHT_PIN   //P0_16  // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
311
-    #undef  LCD_PINS_ENABLE     //P0_18  // (51) (MOSI) J3-10 & AUX-3
312
-    #undef  LCD_PINS_D4         //P0_15  // (52) (SCK)  J3-9 & AUX-3
313
-
314
-    #undef  LCD_PINS_D5         //P2_06  // (59) J3-8 & AUX-2
315
-    #define DOGLCD_A0           P2_06  // (59) J3-8 & AUX-2
316
-    #undef  LCD_PINS_D6         //P0_26  // (63) J5-3 & AUX-2
317
-    #undef  LCD_PINS_D7         //P1_21  // ( 6) (SERVO1) J5-1 & SERVO connector
309
+    #undef  LCD_BACKLIGHT_PIN   //P0_16   // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
310
+    #undef  LCD_PINS_ENABLE     //P0_18   // (51) (MOSI) J3-10 & AUX-3
311
+    #undef  LCD_PINS_D4         //P0_15   // (52) (SCK)  J3-9 & AUX-3
312
+
313
+    #undef  LCD_PINS_D5         //P2_06   // (59) J3-8 & AUX-2
314
+    #define DOGLCD_A0           P2_06   // (59) J3-8 & AUX-2
315
+    #undef  LCD_PINS_D6         //P0_26   // (63) J5-3 & AUX-2
316
+    #undef  LCD_PINS_D7         //P1_21   // ( 6) (SERVO1) J5-1 & SERVO connector
318 317
     #define DOGLCD_SCK          SCK_PIN
319 318
     #define DOGLCD_MOSI         MOSI_PIN
320 319
 
321
-    #define STAT_LED_BLUE_PIN   P0_26  // (63)  may change if cable changes
322
-    #define STAT_LED_RED_PIN    P1_21  // ( 6)  may change if cable changes
320
+    #define STAT_LED_BLUE_PIN   P0_26   // (63)  may change if cable changes
321
+    #define STAT_LED_RED_PIN    P1_21   // ( 6)  may change if cable changes
323 322
   #endif
324 323
 
325
-  //#define MISO_PIN            P0_17  // (50)  system defined J3-10 & AUX-3
326
-  //#define MOSI_PIN            P0_18  // (51)  system defined J3-10 & AUX-3
327
-  //#define SCK_PIN             P0_15  // (52)  system defined J3-9 & AUX-3
328
-  //#define SS_PIN              P1_23  // (53)  system defined J3-5 & AUX-3 - sometimes called SDSS
324
+  //#define MISO_PIN            P0_17   // (50)  system defined J3-10 & AUX-3
325
+  //#define MOSI_PIN            P0_18   // (51)  system defined J3-10 & AUX-3
326
+  //#define SCK_PIN             P0_15   // (52)  system defined J3-9 & AUX-3
327
+  //#define SS_PIN              P1_23   // (53)  system defined J3-5 & AUX-3 - sometimes called SDSS
329 328
 
330 329
   #if ENABLED(MINIPANEL)
331 330
     // GLCD features
@@ -342,17 +341,17 @@
342 341
 // Ethernet pins
343 342
 //
344 343
 #ifndef ULTIPANEL
345
-  #define ENET_MDIO   P1_17  // (71)  J12-4
346
-  #define ENET_RX_ER  P1_14  // (73)  J12-6
347
-  #define ENET_RXD1   P1_10  // (75)  J12-8
344
+  #define ENET_MDIO   P1_17   // (71)  J12-4
345
+  #define ENET_RX_ER  P1_14   // (73)  J12-6
346
+  #define ENET_RXD1   P1_10   // (75)  J12-8
348 347
 #endif
349
-#define ENET_MOC      P1_16  // (70)  J12-3
350
-#define REF_CLK       P1_15  // (72)  J12-5
351
-#define ENET_RXD0     P1_09  // (74)  J12-7
352
-#define ENET_CRS      P1_08  // (76)  J12-9
353
-#define ENET_TX_EN    P1_04  // (77)  J12-10
354
-#define ENET_TXD0     P1_00  // (78)  J12-11
355
-#define ENET_TXD1     P1_01  // (79)  J12-12
348
+#define ENET_MOC      P1_16   // (70)  J12-3
349
+#define REF_CLK       P1_15   // (72)  J12-5
350
+#define ENET_RXD0     P1_09   // (74)  J12-7
351
+#define ENET_CRS      P1_08   // (76)  J12-9
352
+#define ENET_TX_EN    P1_04   // (77)  J12-10
353
+#define ENET_TXD0     P1_00   // (78)  J12-11
354
+#define ENET_TXD1     P1_01   // (79)  J12-12
356 355
 
357 356
 /**
358 357
  *  Fast PWMS

+ 5
- 5
Marlin/src/pins/pins_RAMPS_SMART.h Vedi File

@@ -79,10 +79,10 @@
79 79
 // SPI for Max6675 or Max31855 Thermocouple
80 80
 #if DISABLED(SDSUPPORT)
81 81
   #undef MAX6675_SS
82
-  #define MAX6675_SS       67 // Do not use pin 53 if there is even the remote possibility of using Display/SD card
82
+  #define MAX6675_SS       67   // Do not use pin 53 if there is even the remote possibility of using Display/SD card
83 83
 #else
84 84
   #undef MAX6675_SS
85
-  #define MAX6675_SS       67 // Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
85
+  #define MAX6675_SS       67   // Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
86 86
 #endif
87 87
 
88 88
 //
@@ -90,12 +90,12 @@
90 90
 //
91 91
 // Support for AZSMZ 12864 LCD with SD Card 3D printer smart controller control panel
92 92
 #if ENABLED(AZSMZ_12864)
93
-  #define BEEPER_PIN       66 // Smart RAMPS 1.42 pinout diagram on RepRap WIKI erroneously says this should be pin 65
93
+  #define BEEPER_PIN       66   // Smart RAMPS 1.42 pinout diagram on RepRap WIKI erroneously says this should be pin 65
94 94
   #define DOGLCD_A0        59
95 95
   #define DOGLCD_CS        44
96 96
   #define BTN_EN1          58
97 97
   #define BTN_EN2          40
98
-  #define BTN_ENC          67 // Smart RAMPS 1.42 pinout diagram on RepRap WIKI erroneously says this should be pin 66
99
-  #define SD_DETECT_PIN    49 // Pin 49 for display sd interface, 72 for easy adapter board
98
+  #define BTN_ENC          67   // Smart RAMPS 1.42 pinout diagram on RepRap WIKI erroneously says this should be pin 66
99
+  #define SD_DETECT_PIN    49   // Pin 49 for display sd interface, 72 for easy adapter board
100 100
   #define KILL_PIN         42
101 101
 #endif

+ 5
- 5
Marlin/src/pins/pins_RIGIDBOARD.h Vedi File

@@ -36,8 +36,8 @@
36 36
 //
37 37
 // MOSFET changes
38 38
 //
39
-#define RAMPS_D10_PIN       9 // EXTRUDER 1
40
-#define MOSFET_D_PIN       12 // EXTRUDER 2 or FAN
39
+#define RAMPS_D10_PIN       9   // EXTRUDER 1
40
+#define MOSFET_D_PIN       12   // EXTRUDER 2 or FAN
41 41
 
42 42
 #include "pins_RAMPS.h"
43 43
 
@@ -74,9 +74,9 @@
74 74
 // SPI for Max6675 or Max31855 Thermocouple
75 75
 #undef MAX6675_SS
76 76
 #if DISABLED(SDSUPPORT)
77
-  #define MAX6675_SS       53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
77
+  #define MAX6675_SS       53   // Don't use pin 53 if there is even the remote possibility of using Display/SD card
78 78
 #else
79
-  #define MAX6675_SS       49 // Don't use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
79
+  #define MAX6675_SS       49   // Don't use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
80 80
 #endif
81 81
 
82 82
 //
@@ -86,7 +86,7 @@
86 86
 #define HEATER_BED_PIN     10
87 87
 
88 88
 #undef FAN_PIN
89
-#define FAN_PIN             8 // Same as RAMPS_13_EEF
89
+#define FAN_PIN             8   // Same as RAMPS_13_EEF
90 90
 
91 91
 //
92 92
 // Misc. Functions

+ 5
- 5
Marlin/src/pins/pins_RIGIDBOARD_V2.h Vedi File

@@ -39,12 +39,12 @@
39 39
 // Channels available for DAC, For Rigidboard there are 4
40 40
 #define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
41 41
 
42
-#define DAC_STEPPER_SENSE    0.05 // sense resistors on rigidboard stepper chips are .05 value
42
+#define DAC_STEPPER_SENSE    0.05   // sense resistors on rigidboard stepper chips are .05 value
43 43
 #define DAC_STEPPER_ADDRESS  0
44
-#define DAC_STEPPER_MAX   4096 // was 5000 but max allowable value is actually 4096
45
-#define DAC_STEPPER_VREF     1 // internal Vref, gain 2x = 4.096V
46
-#define DAC_STEPPER_GAIN     1 // value of 1 here sets gain of 2
47
-#define DAC_DISABLE_PIN     42 // set low to enable DAC
44
+#define DAC_STEPPER_MAX   4096   // was 5000 but max allowable value is actually 4096
45
+#define DAC_STEPPER_VREF     1   // internal Vref, gain 2x = 4.096V
46
+#define DAC_STEPPER_GAIN     1   // value of 1 here sets gain of 2
47
+#define DAC_DISABLE_PIN     42   // set low to enable DAC
48 48
 #define DAC_OR_ADDRESS    0x01
49 49
 
50 50
 #ifndef DAC_MOTOR_CURRENT_DEFAULT

+ 2
- 2
Marlin/src/pins/pins_RUMBA.h Vedi File

@@ -154,10 +154,10 @@
154 154
 // M3/M4/M5 - Spindle/Laser Control
155 155
 //
156 156
 #ifndef SPINDLE_LASER_PWM_PIN
157
-  #define SPINDLE_LASER_PWM_PIN     4  // MUST BE HARDWARE PWM. Pin 4 interrupts OC0* and OC1* always in use?
157
+  #define SPINDLE_LASER_PWM_PIN     4   // MUST BE HARDWARE PWM. Pin 4 interrupts OC0* and OC1* always in use?
158 158
 #endif
159 159
 #ifndef SPINDLE_LASER_ENABLE_PIN
160
-  #define SPINDLE_LASER_ENABLE_PIN 14  // Pin should have a pullup!
160
+  #define SPINDLE_LASER_ENABLE_PIN 14   // Pin should have a pullup!
161 161
 #endif
162 162
 #ifndef SPINDLE_DIR_PIN
163 163
   #define SPINDLE_DIR_PIN          15

+ 18
- 18
Marlin/src/pins/pins_RURAMPS4D.h Vedi File

@@ -60,15 +60,15 @@
60 60
 //
61 61
 // Steppers
62 62
 //
63
-#define X_STEP_PIN         37 // Support Extension Board
63
+#define X_STEP_PIN         37   // Support Extension Board
64 64
 #define X_DIR_PIN          36
65 65
 #define X_ENABLE_PIN       38
66 66
 
67
-#define Y_STEP_PIN         32 // Support Extension Board
67
+#define Y_STEP_PIN         32   // Support Extension Board
68 68
 #define Y_DIR_PIN          35
69 69
 #define Y_ENABLE_PIN       34
70 70
 
71
-#define Z_STEP_PIN         30 // Support Extension Board
71
+#define Z_STEP_PIN         30   // Support Extension Board
72 72
 #define Z_DIR_PIN           2
73 73
 #define Z_ENABLE_PIN       33
74 74
 
@@ -84,7 +84,7 @@
84 84
 #define E2_DIR_PIN         23
85 85
 #define E2_ENABLE_PIN      27
86 86
 
87
-#define E3_STEP_PIN        15 // Only For Extension Board
87
+#define E3_STEP_PIN        15   // Only For Extension Board
88 88
 #define E3_DIR_PIN         14
89 89
 #define E3_ENABLE_PIN      61
90 90
 
@@ -100,9 +100,9 @@
100 100
 //#define E3_MS1_PIN         ?
101 101
 //#define E3_MS2_PIN         ?
102 102
 //#define E3_MS3_PIN         ?
103
-//#define Z2_MS1_PIN         ? // shared with E3_MS1_PIN
104
-//#define Z2_MS2_PIN         ? // shared with E3_MS2_PIN
105
-//#define Z2_MS3_PIN         ? // shared with E3_MS3_PIN
103
+//#define Z2_MS1_PIN         ?   // shared with E3_MS1_PIN
104
+//#define Z2_MS2_PIN         ?   // shared with E3_MS2_PIN
105
+//#define Z2_MS3_PIN         ?   // shared with E3_MS3_PIN
106 106
 
107 107
 #if DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
108 108
   #define Z_PROBE_PIN      49
@@ -120,7 +120,7 @@
120 120
 #define HEATER_0_PIN       13
121 121
 #define HEATER_1_PIN       12
122 122
 #define HEATER_2_PIN       11
123
-#define HEATER_BED_PIN      7  // BED H1
123
+#define HEATER_BED_PIN      7   // BED H1
124 124
 
125 125
 #define FAN_PIN             9
126 126
 #define FAN1_PIN            8
@@ -129,15 +129,15 @@
129 129
 //
130 130
 // Temperature Sensors
131 131
 //
132
-#define TEMP_0_PIN          0  // ANALOG A0
133
-#define TEMP_1_PIN          1  // ANALOG A1
134
-#define TEMP_2_PIN          2  // ANALOG A2
135
-#define TEMP_3_PIN          3  // ANALOG A2
136
-#define TEMP_BED_PIN        4  // ANALOG A3
132
+#define TEMP_0_PIN          0   // ANALOG A0
133
+#define TEMP_1_PIN          1   // ANALOG A1
134
+#define TEMP_2_PIN          2   // ANALOG A2
135
+#define TEMP_3_PIN          3   // ANALOG A2
136
+#define TEMP_BED_PIN        4   // ANALOG A3
137 137
 //Thermocouple Use Analog Pins
138 138
 #if ENABLED(VER_WITH_THERMOCOUPLE) // If Nead, define is in Configuration.h
139
-  #define TEMP_4_PIN        5  // A5
140
-  #define TEMP_5_PIN        6  // A6 (Marlin 2.0 not support)
139
+  #define TEMP_4_PIN        5   // A5
140
+  #define TEMP_5_PIN        6   // A6 (Marlin 2.0 not support)
141 141
 #endif
142 142
 
143 143
 // SPI for Max6675 or Max31855 Thermocouple
@@ -158,9 +158,9 @@
158 158
 //
159 159
 // Misc. Functions
160 160
 //
161
-#define SDSS                4 // 4,10,52 if using HW SPI.
162
-#define LED_PIN            -1 // 13 - HEATER_0_PIN
163
-#define PS_ON_PIN          -1 // 65
161
+#define SDSS                4   // 4,10,52 if using HW SPI.
162
+#define LED_PIN            -1   // 13 - HEATER_0_PIN
163
+#define PS_ON_PIN          -1   // 65
164 164
 
165 165
 // MKS TFT / Nextion Use internal USART-1
166 166
 #define TFT_LCD_MODULE_COM        1

+ 5
- 5
Marlin/src/pins/pins_SAINSMART_2IN1.h Vedi File

@@ -21,7 +21,7 @@
21 21
  */
22 22
 
23 23
 /**
24
- *  Sainsmart 2-in-1 pin assignments
24
+ * Sainsmart 2-in-1 pin assignments
25 25
  */
26 26
 
27 27
 #if HOTENDS > 2 || E_STEPPERS > 2
@@ -33,9 +33,9 @@
33 33
 //
34 34
 // Heaters / Fans
35 35
 //
36
-#define RAMPS_D10_PIN 9 // E
37
-#define RAMPS_D9_PIN  7 // F PART FAN in front of board next to Extruder heat
38
-     // RAMPS_D8_PIN  8 // B
39
-#define MOSFET_D_PIN 10 // F / E
36
+#define RAMPS_D10_PIN 9   // E
37
+#define RAMPS_D9_PIN  7   // F PART FAN in front of board next to Extruder heat
38
+     // RAMPS_D8_PIN  8   // B
39
+#define MOSFET_D_PIN 10   // F / E
40 40
 
41 41
 #include "pins_RAMPS.h"

+ 18
- 18
Marlin/src/pins/pins_SANGUINOLOLU_11.h Vedi File

@@ -90,23 +90,23 @@
90 90
 //
91 91
 // Heaters / Fans
92 92
 //
93
-#define HEATER_0_PIN       13 // (extruder)
93
+#define HEATER_0_PIN       13   // (extruder)
94 94
 
95 95
 #if ENABLED(SANGUINOLOLU_V_1_2)
96 96
 
97
-  #define HEATER_BED_PIN   12 // (bed)
97
+  #define HEATER_BED_PIN   12   // (bed)
98 98
   #define X_ENABLE_PIN     14
99 99
   #define Y_ENABLE_PIN     14
100 100
   #define Z_ENABLE_PIN     26
101 101
   #define E0_ENABLE_PIN    14
102 102
 
103 103
   #if ENABLED(LCD_I2C_PANELOLU2)
104
-    #define FAN_PIN         4 // Uses Transistor1 (PWM) on Panelolu2's Sanguino Adapter Board to drive the fan
104
+    #define FAN_PIN         4   // Uses Transistor1 (PWM) on Panelolu2's Sanguino Adapter Board to drive the fan
105 105
   #endif
106 106
 
107 107
 #else
108 108
 
109
-  #define HEATER_BED_PIN   14 // (bed)
109
+  #define HEATER_BED_PIN   14   // (bed)
110 110
   #define X_ENABLE_PIN     -1
111 111
   #define Y_ENABLE_PIN     -1
112 112
   #define Z_ENABLE_PIN     -1
@@ -115,7 +115,7 @@
115 115
 #endif
116 116
 
117 117
 #if MB(AZTEEG_X1) || MB(STB_11) || MB(CREALITY_ENDER) || ENABLED(IS_MELZI)
118
-  #define FAN_PIN           4 // Works for Panelolu2 too
118
+  #define FAN_PIN           4   // Works for Panelolu2 too
119 119
 #endif
120 120
 
121 121
 //
@@ -134,11 +134,11 @@
134 134
 #if ENABLED(IS_MELZI)
135 135
   #define LED_PIN          27
136 136
 #elif MB(STB_11)
137
-  #define LCD_BACKLIGHT_PIN 17 // LCD backlight LED
137
+  #define LCD_BACKLIGHT_PIN 17   // LCD backlight LED
138 138
 #endif
139 139
 
140 140
 #if DISABLED(SPINDLE_LASER_ENABLE) && ENABLED(SANGUINOLOLU_V_1_2) && !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL))  // try to use IO Header
141
-  #define CASE_LIGHT_PIN     4 // MUST BE HARDWARE PWM  - see if IO Header is available
141
+  #define CASE_LIGHT_PIN     4   // MUST BE HARDWARE PWM  - see if IO Header is available
142 142
 #endif
143 143
 
144 144
 /**
@@ -160,9 +160,9 @@
160 160
     #if ENABLED(U8GLIB_ST7920) // SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
161 161
 
162 162
       #if ENABLED(IS_MELZI)
163
-        #define LCD_PINS_RS     30 // CS chip select /SS chip slave select
164
-        #define LCD_PINS_ENABLE 29 // SID (MOSI)
165
-        #define LCD_PINS_D4     17 // SCK (CLK) clock
163
+        #define LCD_PINS_RS     30   // CS chip select /SS chip slave select
164
+        #define LCD_PINS_ENABLE 29   // SID (MOSI)
165
+        #define LCD_PINS_D4     17   // SCK (CLK) clock
166 166
         // Pin 27 is taken by LED_PIN, but Melzi LED does nothing with
167 167
         // Marlin so this can be used for BEEPER_PIN. You can use this pin
168 168
         // with M42 instead of BEEPER_PIN.
@@ -185,7 +185,7 @@
185 185
 
186 186
         #define BEEPER_PIN      29
187 187
         #define DOGLCD_CS       17
188
-        #define LCD_BACKLIGHT_PIN 28 // PA3
188
+        #define LCD_BACKLIGHT_PIN 28   // PA3
189 189
 
190 190
       #elif MB(CREALITY_ENDER)
191 191
 
@@ -224,7 +224,7 @@
224 224
 
225 225
     #if ENABLED(IS_MELZI)
226 226
       #define BTN_ENC           29
227
-      #define LCD_SDSS          30 // Panelolu2 SD card reader rather than the Melzi
227
+      #define LCD_SDSS          30   // Panelolu2 SD card reader rather than the Melzi
228 228
     #else
229 229
       #define BTN_ENC           30
230 230
     #endif
@@ -265,7 +265,7 @@
265 265
   #else  // !LCD_I2C_PANELOLU2 && !LCD_FOR_MELZI && !ZONESTAR_LCD
266 266
 
267 267
     #define BTN_ENC             16
268
-    #define LCD_SDSS            28 // Smart Controller SD card reader rather than the Melzi
268
+    #define LCD_SDSS            28   // Smart Controller SD card reader rather than the Melzi
269 269
 
270 270
   #endif
271 271
 
@@ -279,8 +279,8 @@
279 279
 #if ENABLED(SPINDLE_LASER_ENABLE)
280 280
   #if !MB(AZTEEG_X1) && ENABLED(SANGUINOLOLU_V_1_2) && !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL))  // try to use IO Header
281 281
 
282
-    #define SPINDLE_LASER_ENABLE_PIN 10  // Pin should have a pullup/pulldown!
283
-    #define SPINDLE_LASER_PWM_PIN     4  // MUST BE HARDWARE PWM
282
+    #define SPINDLE_LASER_ENABLE_PIN 10   // Pin should have a pullup/pulldown!
283
+    #define SPINDLE_LASER_PWM_PIN     4   // MUST BE HARDWARE PWM
284 284
     #define SPINDLE_DIR_PIN          11
285 285
 
286 286
   #elif !MB(MELZI)  // use X stepper motor socket
@@ -318,8 +318,8 @@
318 318
     #define X_DIR_PIN                 0
319 319
     #define X_ENABLE_PIN             14
320 320
     #define X_STEP_PIN                1
321
-    #define SPINDLE_LASER_PWM_PIN    15  // MUST BE HARDWARE PWM
322
-    #define SPINDLE_LASER_ENABLE_PIN 21  // Pin should have a pullup!
323
-    #define SPINDLE_DIR_PIN          -1  // No pin available on the socket for the direction pin
321
+    #define SPINDLE_LASER_PWM_PIN    15   // MUST BE HARDWARE PWM
322
+    #define SPINDLE_LASER_ENABLE_PIN 21   // Pin should have a pullup!
323
+    #define SPINDLE_DIR_PIN          -1   // No pin available on the socket for the direction pin
324 324
   #endif
325 325
 #endif // SPINDLE_LASER_ENABLE

+ 4
- 4
Marlin/src/pins/pins_SAV_MKI.h Vedi File

@@ -173,10 +173,10 @@
173 173
   //
174 174
   // M3/M4/M5 - Spindle/Laser Control
175 175
   //
176
-  #define SPINDLE_LASER_PWM_PIN    24  // B4  PWM2A
177
-  #define SPINDLE_LASER_ENABLE_PIN 39  // F1  Pin should have a pullup!
178
-  #define SPINDLE_DIR_PIN          40  // F2
176
+  #define SPINDLE_LASER_PWM_PIN    24   // B4  PWM2A
177
+  #define SPINDLE_LASER_ENABLE_PIN 39   // F1  Pin should have a pullup!
178
+  #define SPINDLE_DIR_PIN          40   // F2
179 179
 
180
-  #define CASE_LIGHT_PIN            0  // D0  PWM0B
180
+  #define CASE_LIGHT_PIN            0   // D0  PWM0B
181 181
 
182 182
 #endif

+ 5
- 5
Marlin/src/pins/pins_SCOOVO_X9H.h Vedi File

@@ -33,10 +33,10 @@
33 33
 //
34 34
 // Servos
35 35
 //
36
-#define SERVO0_PIN 22 // Motor header MX1
37
-#define SERVO1_PIN 23 // Motor header MX2
38
-#define SERVO2_PIN 24 // Motor header MX3
39
-#define SERVO3_PIN  5 // PWM header pin 5
36
+#define SERVO0_PIN 22   // Motor header MX1
37
+#define SERVO1_PIN 23   // Motor header MX2
38
+#define SERVO2_PIN 24   // Motor header MX3
39
+#define SERVO3_PIN  5   // PWM header pin 5
40 40
 
41 41
 //
42 42
 // Limit Switches
@@ -91,7 +91,7 @@
91 91
 #define E1_MS2_PIN          64
92 92
 
93 93
 #define DIGIPOTSS_PIN       38
94
-#define DIGIPOT_CHANNELS {4,5,3,0,1} // X Y Z E0 E1 digipot channels to stepper driver mapping
94
+#define DIGIPOT_CHANNELS {4,5,3,0,1}   // X Y Z E0 E1 digipot channels to stepper driver mapping
95 95
 
96 96
 //
97 97
 // Temperature Sensors

+ 3
- 3
Marlin/src/pins/pins_SELENA_COMPACT.h Vedi File

@@ -73,9 +73,9 @@
73 73
 // Temperature Sensors
74 74
 // 3.3V max when defined as an analog input
75 75
 //
76
-#define TEMP_BED_PIN        0  // A0 (TH1)
77
-#define TEMP_0_PIN          1  // A1 (TH2)
78
-#define TEMP_1_PIN          2  // A2 (TH3)
76
+#define TEMP_BED_PIN        0   // A0 (TH1)
77
+#define TEMP_0_PIN          1   // A1 (TH2)
78
+#define TEMP_1_PIN          2   // A2 (TH3)
79 79
 
80 80
 
81 81
 //

+ 1
- 1
Marlin/src/pins/pins_SETHI.h Vedi File

@@ -56,7 +56,7 @@
56 56
 #define BOARD_NAME "Sethi 3D_1"
57 57
 
58 58
 #ifndef GEN7_VERSION
59
-  #define GEN7_VERSION 12 // v1.x
59
+  #define GEN7_VERSION 12   // v1.x
60 60
 #endif
61 61
 
62 62
 //

+ 1
- 1
Marlin/src/pins/pins_SILVER_GATE.h Vedi File

@@ -60,7 +60,7 @@
60 60
 
61 61
 #define HEATER_0_PIN        7
62 62
 
63
-#define ORIG_E0_AUTO_FAN_PIN 3  // Use this by NOT overriding E0_AUTO_FAN_PIN
63
+#define ORIG_E0_AUTO_FAN_PIN 3   // Use this by NOT overriding E0_AUTO_FAN_PIN
64 64
 #define CONTROLLER_FAN_PIN  2
65 65
 
66 66
 #define TEMP_0_PIN          7   // Analog Input

+ 12
- 13
Marlin/src/pins/pins_STM32F1R.h Vedi File

@@ -100,7 +100,7 @@
100 100
 #define HEATER_BED2_PIN    -1    // BED2
101 101
 #define HEATER_BED3_PIN    -1    // BED3
102 102
 
103
-#define FAN_PIN            -1 // (Sprinter config)
103
+#define FAN_PIN            -1   // (Sprinter config)
104 104
 
105 105
 //
106 106
 // Temperature Sensors
@@ -116,9 +116,9 @@
116 116
 #if ENABLED(ULTRA_LCD)
117 117
 
118 118
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
119
-    #define LCD_PINS_RS         49 // CS chip select /SS chip slave select
120
-    #define LCD_PINS_ENABLE     51 // SID (MOSI)
121
-    #define LCD_PINS_D4         52 // SCK (CLK) clock
119
+    #define LCD_PINS_RS         49   // CS chip select /SS chip slave select
120
+    #define LCD_PINS_ENABLE     51   // SID (MOSI)
121
+    #define LCD_PINS_D4         52   // SCK (CLK) clock
122 122
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
123 123
     #define LCD_PINS_RS         PB8
124 124
     #define LCD_PINS_ENABLE     PD2
@@ -179,8 +179,8 @@
179 179
 
180 180
     #elif ENABLED(LCD_I2C_VIKI)
181 181
 
182
-      #define BTN_EN1           22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
183
-      #define BTN_EN2            7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
182
+      #define BTN_EN1           22   // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
183
+      #define BTN_EN2            7   // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
184 184
 
185 185
       #define BTN_ENC           -1
186 186
       #define LCD_SDSS          53
@@ -200,7 +200,7 @@
200 200
       #define BTN_ENC           39
201 201
 
202 202
       #define SDSS              53
203
-      #define SD_DETECT_PIN     -1 // Pin 49 for display sd interface, 72 for easy adapter board
203
+      #define SD_DETECT_PIN     -1   // Pin 49 for display sd interface, 72 for easy adapter board
204 204
 
205 205
       #define KILL_PIN          31
206 206
 
@@ -225,7 +225,7 @@
225 225
       // Pins for DOGM SPI LCD Support
226 226
       #define DOGLCD_A0         44
227 227
       #define DOGLCD_CS         66
228
-      #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
228
+      #define LCD_BACKLIGHT_PIN 65   // backlight LED on A11/D65
229 229
       #define SDSS              53
230 230
 
231 231
       #define KILL_PIN          64
@@ -256,9 +256,9 @@
256 256
         #define SHIFT_CLK       44
257 257
         #define SHIFT_LD        42
258 258
       #elif ENABLED(PANEL_ONE)
259
-        #define BTN_EN1         59 // AUX2 PIN 3
260
-        #define BTN_EN2         63 // AUX2 PIN 4
261
-        #define BTN_ENC         49 // AUX3 PIN 7
259
+        #define BTN_EN1         59   // AUX2 PIN 3
260
+        #define BTN_EN2         63   // AUX2 PIN 4
261
+        #define BTN_ENC         49   // AUX3 PIN 7
262 262
       #else
263 263
         #define BTN_EN1         37
264 264
         #define BTN_EN2         35
@@ -269,7 +269,7 @@
269 269
         #define SD_DETECT_PIN   49
270 270
         #define KILL_PIN        41
271 271
       #else
272
-        //#define SD_DETECT_PIN -1 // Ramps doesn't use this
272
+        //#define SD_DETECT_PIN -1   // Ramps doesn't use this
273 273
       #endif
274 274
 
275 275
     #endif
@@ -280,4 +280,3 @@
280 280
 #define U_MIN_PIN          -1
281 281
 #define V_MIN_PIN          -1
282 282
 #define W_MIN_PIN          -1
283
-

+ 15
- 16
Marlin/src/pins/pins_STM3R_MINI.h Vedi File

@@ -21,7 +21,7 @@
21 21
  */
22 22
 
23 23
 #if !defined(__STM32F1__) && !defined(__STM32F4__)
24
-    #error "Oops!  Make sure you have an STM32F1/4 board selected from the 'Tools -> Boards' menu."
24
+  #error "Oops!  Make sure you have an STM32F1/4 board selected from the 'Tools -> Boards' menu."
25 25
 #endif
26 26
 
27 27
 /**
@@ -91,13 +91,13 @@
91 91
 //
92 92
 // Heaters / Fans
93 93
 //
94
-#define HEATER_0_PIN       PD12  // EXTRUDER 1
94
+#define HEATER_0_PIN       PD12   // EXTRUDER 1
95 95
 //#define HEATER_1_PIN       PD13
96 96
 //#define HEATER_2_PIN       -1
97 97
 
98 98
 #define HEATER_BED_PIN     PB9   // BED
99
-//#define HEATER_BED2_PIN    -1    // BED2
100
-//#define HEATER_BED3_PIN    -1    // BED3
99
+//#define HEATER_BED2_PIN    -1   // BED2
100
+//#define HEATER_BED3_PIN    -1   // BED3
101 101
 
102 102
 #define FAN_PIN            PD14
103 103
 #define FAN1_PIN           PD13
@@ -124,9 +124,9 @@
124 124
 #if ENABLED(ULTRA_LCD)
125 125
 
126 126
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
127
-    #define LCD_PINS_RS         49 // CS chip select /SS chip slave select
128
-    #define LCD_PINS_ENABLE     51 // SID (MOSI)
129
-    #define LCD_PINS_D4         52 // SCK (CLK) clock
127
+    #define LCD_PINS_RS         49   // CS chip select /SS chip slave select
128
+    #define LCD_PINS_ENABLE     51   // SID (MOSI)
129
+    #define LCD_PINS_D4         52   // SCK (CLK) clock
130 130
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
131 131
     #define LCD_PINS_RS         PB8
132 132
     #define LCD_PINS_ENABLE     PD2
@@ -187,8 +187,8 @@
187 187
 
188 188
     #elif ENABLED(LCD_I2C_VIKI)
189 189
 
190
-      #define BTN_EN1           22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
191
-      #define BTN_EN2            7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
190
+      #define BTN_EN1           22   // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
191
+      #define BTN_EN2            7   // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
192 192
 
193 193
       #define BTN_ENC           -1
194 194
       #define LCD_SDSS          53
@@ -208,7 +208,7 @@
208 208
       #define BTN_ENC           39
209 209
 
210 210
       #define SDSS              53
211
-      #define SD_DETECT_PIN     -1 // Pin 49 for display sd interface, 72 for easy adapter board
211
+      #define SD_DETECT_PIN     -1   // Pin 49 for display sd interface, 72 for easy adapter board
212 212
 
213 213
       #define KILL_PIN          31
214 214
 
@@ -234,7 +234,7 @@
234 234
       // Pins for DOGM SPI LCD Support
235 235
       #define DOGLCD_A0         44
236 236
       #define DOGLCD_CS         66
237
-      #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
237
+      #define LCD_BACKLIGHT_PIN 65   // backlight LED on A11/D65
238 238
       #define SDSS              53
239 239
 
240 240
       #define KILL_PIN          64
@@ -265,9 +265,9 @@
265 265
         #define SHIFT_CLK       44
266 266
         #define SHIFT_LD        42
267 267
       #elif ENABLED(PANEL_ONE)
268
-        #define BTN_EN1         59 // AUX2 PIN 3
269
-        #define BTN_EN2         63 // AUX2 PIN 4
270
-        #define BTN_ENC         49 // AUX3 PIN 7
268
+        #define BTN_EN1         59   // AUX2 PIN 3
269
+        #define BTN_EN2         63   // AUX2 PIN 4
270
+        #define BTN_ENC         49   // AUX3 PIN 7
271 271
       #else
272 272
         #define BTN_EN1         37
273 273
         #define BTN_EN2         35
@@ -278,7 +278,7 @@
278 278
         #define SD_DETECT_PIN   49
279 279
         #define KILL_PIN        41
280 280
       #else
281
-        //#define SD_DETECT_PIN -1 // Ramps doesn't use this
281
+        //#define SD_DETECT_PIN -1   // Ramps doesn't use this
282 282
       #endif
283 283
 
284 284
     #endif
@@ -289,4 +289,3 @@
289 289
 #define U_MIN_PIN          -1
290 290
 #define V_MIN_PIN          -1
291 291
 #define W_MIN_PIN          -1
292
-

+ 3
- 3
Marlin/src/pins/pins_TEENSY2.h Vedi File

@@ -177,6 +177,6 @@
177 177
 //
178 178
 // M3/M4/M5 - Spindle/Laser Control
179 179
 //
180
-#define SPINDLE_LASER_ENABLE_PIN  5  // D5  Pin should have a pullup!
181
-#define SPINDLE_LASER_PWM_PIN     0  // D0 PWM0B   MUST BE HARDWARE PWM
182
-#define SPINDLE_DIR_PIN           7  // D7
180
+#define SPINDLE_LASER_ENABLE_PIN  5   // D5  Pin should have a pullup!
181
+#define SPINDLE_LASER_PWM_PIN     0   // D0 PWM0B   MUST BE HARDWARE PWM
182
+#define SPINDLE_DIR_PIN           7   // D7

+ 3
- 3
Marlin/src/pins/pins_TEENSY35_36.h Vedi File

@@ -108,11 +108,11 @@ D8    HEATER_BED_PIN      CS1     RX4  A12 31 |   46 * * 47   | 34 A15 PWM
108 108
 #define Y_STOP_PIN         26
109 109
 #define Z_STOP_PIN         28
110 110
 
111
-#define TEMP_0_PIN          2 // Extruder / Analog pin numbering: 2 => A2
111
+#define TEMP_0_PIN          2   // Extruder / Analog pin numbering: 2 => A2
112 112
 #define TEMP_1_PIN          0
113
-#define TEMP_BED_PIN        1 // Bed / Analog pin numbering
113
+#define TEMP_BED_PIN        1   // Bed / Analog pin numbering
114 114
 
115
-#define SDSS               39 // 8
115
+#define SDSS               39   // 8
116 116
 #define LED_PIN            13
117 117
 #define PS_ON_PIN           1
118 118
 #define ALARM_PIN          -1

+ 60
- 60
Marlin/src/pins/pins_THE_BORG.h Vedi File

@@ -21,7 +21,7 @@
21 21
  */
22 22
 
23 23
 #if !defined(STM32F7)
24
-    #error "Oops!  Make sure you have an STM32F7 board selected from the 'Tools -> Boards' menu."
24
+  #error "Oops!  Make sure you have an STM32F7 board selected from the 'Tools -> Boards' menu."
25 25
 #endif
26 26
 
27 27
 #define DEFAULT_MACHINE_NAME "The-Borge"
@@ -29,7 +29,7 @@
29 29
 
30 30
 #define LARGE_FLASH true
31 31
 
32
-#define E2END 0xFFF // EEPROM end address
32
+#define E2END 0xFFF   // EEPROM end address
33 33
 
34 34
 // Ignore temp readings during develpment.
35 35
 #define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
@@ -51,49 +51,49 @@
51 51
 //
52 52
 // Limit Switches
53 53
 //
54
-#define X_MIN_PIN          _STM32_PIN(PORTE, 9)
54
+#define X_MIN_PIN          _STM32_PIN(PORTE,  9)
55 55
 #define X_MAX_PIN          _STM32_PIN(PORTE, 10)
56
-#define Y_MIN_PIN          _STM32_PIN(PORTE, 7)
57
-#define Y_MAX_PIN          _STM32_PIN(PORTE, 8)
56
+#define Y_MIN_PIN          _STM32_PIN(PORTE,  7)
57
+#define Y_MAX_PIN          _STM32_PIN(PORTE,  8)
58 58
 #define Z_MIN_PIN          _STM32_PIN(PORTF, 15)
59
-#define Z_MAX_PIN          _STM32_PIN(PORTG, 0)
60
-#define E_MIN_PIN          _STM32_PIN(PORTE, 2)
61
-#define E_MAX_PIN          _STM32_PIN(PORTE, 3)
59
+#define Z_MAX_PIN          _STM32_PIN(PORTG,  0)
60
+#define E_MIN_PIN          _STM32_PIN(PORTE,  2)
61
+#define E_MAX_PIN          _STM32_PIN(PORTE,  3)
62 62
 
63 63
 //
64 64
 // Z Probe (when not Z_MIN_PIN)
65 65
 //
66 66
 #ifndef Z_MIN_PROBE_PIN
67
-  #define Z_MIN_PROBE_PIN  _STM32_PIN(PORTA, 4)
67
+  #define Z_MIN_PROBE_PIN  _STM32_PIN(PORTA,  4)
68 68
 #endif
69 69
 
70 70
 //
71 71
 // Steppers
72 72
 //
73
-#define STEPPER_ENABLE_PIN _STM32_PIN(PORTE, 0)
73
+#define STEPPER_ENABLE_PIN _STM32_PIN(PORTE,  0)
74 74
 
75
-#define X_STEP_PIN         _STM32_PIN(PORTC, 6) //96, 39 in arduino
76
-#define X_DIR_PIN          _STM32_PIN(PORTC, 7)
77
-#define X_ENABLE_PIN       _STM32_PIN(PORTC, 8)
75
+#define X_STEP_PIN         _STM32_PIN(PORTC,  6)   // 96, 39 in Arduino
76
+#define X_DIR_PIN          _STM32_PIN(PORTC,  7)
77
+#define X_ENABLE_PIN       _STM32_PIN(PORTC,  8)
78 78
 
79 79
 
80
-#define Y_STEP_PIN         _STM32_PIN(PORTD, 9)
80
+#define Y_STEP_PIN         _STM32_PIN(PORTD,  9)
81 81
 #define Y_DIR_PIN          _STM32_PIN(PORTD, 10)
82 82
 #define Y_ENABLE_PIN       _STM32_PIN(PORTD, 11)
83 83
 
84 84
 #define Z_STEP_PIN         _STM32_PIN(PORTE, 15)
85
-#define Z_DIR_PIN          _STM32_PIN(PORTG, 1)
86
-#define Z_ENABLE_PIN       _STM32_PIN(PORTD, 8)
85
+#define Z_DIR_PIN          _STM32_PIN(PORTG,  1)
86
+#define Z_ENABLE_PIN       _STM32_PIN(PORTD,  8)
87 87
 
88 88
 
89
-#define E0_STEP_PIN        _STM32_PIN(PORTB, 1)
90
-#define E0_DIR_PIN         _STM32_PIN(PORTB, 2)
89
+#define E0_STEP_PIN        _STM32_PIN(PORTB,  1)
90
+#define E0_DIR_PIN         _STM32_PIN(PORTB,  2)
91 91
 #define E0_ENABLE_PIN      _STM32_PIN(PORTE, 11)
92 92
 
93 93
 
94
-#define E1_STEP_PIN        _STM32_PIN(PORTC, 4)
95
-#define E1_DIR_PIN         _STM32_PIN(PORTC, 5)
96
-#define E1_ENABLE_PIN      _STM32_PIN(PORTB, 0)
94
+#define E1_STEP_PIN        _STM32_PIN(PORTC,  4)
95
+#define E1_DIR_PIN         _STM32_PIN(PORTC,  5)
96
+#define E1_ENABLE_PIN      _STM32_PIN(PORTB,  0)
97 97
 
98 98
 
99 99
 #define E2_STEP_PIN        _STM32_PIN(PORTC, 13)
@@ -105,13 +105,13 @@
105 105
 #define Z2_ENABLE_PIN      _STM32_PIN(PORTC, 15)
106 106
 
107 107
 
108
-#define SCK_PIN            _STM32_PIN(PORTA, 5)
109
-#define MISO_PIN           _STM32_PIN(PORTA, 6)
110
-#define MOSI_PIN           _STM32_PIN(PORTA, 7)
108
+#define SCK_PIN            _STM32_PIN(PORTA,  5)
109
+#define MISO_PIN           _STM32_PIN(PORTA,  6)
110
+#define MOSI_PIN           _STM32_PIN(PORTA,  7)
111 111
 
112
-#define SPI1_SCK_PIN       _STM32_PIN(PORTA, 5)
113
-#define SPI1_MISO_PIN      _STM32_PIN(PORTA, 6)
114
-#define SPI1_MOSI_PIN      _STM32_PIN(PORTA, 7)
112
+#define SPI1_SCK_PIN       _STM32_PIN(PORTA,  5)
113
+#define SPI1_MISO_PIN      _STM32_PIN(PORTA,  6)
114
+#define SPI1_MOSI_PIN      _STM32_PIN(PORTA,  7)
115 115
 
116 116
 #define SPI6_SCK_PIN       _STM32_PIN(PORTG, 13)
117 117
 #define SPI6_MISO_PIN      _STM32_PIN(PORTG, 12)
@@ -121,14 +121,14 @@
121 121
 // Temperature Sensors
122 122
 //
123 123
 
124
-#define TEMP_0_PIN         _STM32_PIN(PORTC, 3)   // Analog Input
125
-#define TEMP_1_PIN         _STM32_PIN(PORTC, 2)   // Analog Input
126
-#define TEMP_2_PIN         _STM32_PIN(PORTC, 1)   // Analog Input
127
-#define TEMP_3_PIN         _STM32_PIN(PORTC, 0)   // Analog Input
124
+#define TEMP_0_PIN         _STM32_PIN(PORTC,  3)   // Analog Input
125
+#define TEMP_1_PIN         _STM32_PIN(PORTC,  2)   // Analog Input
126
+#define TEMP_2_PIN         _STM32_PIN(PORTC,  1)   // Analog Input
127
+#define TEMP_3_PIN         _STM32_PIN(PORTC,  0)   // Analog Input
128 128
 
129
-#define TEMP_BED_PIN       _STM32_PIN(PORTF, 10)  // Analog Input
129
+#define TEMP_BED_PIN       _STM32_PIN(PORTF, 10)   // Analog Input
130 130
 
131
-#define TEMP_5_PIN         _STM32_PIN(PORTE, 12)  // Analog Input, Probe temp
131
+#define TEMP_5_PIN         _STM32_PIN(PORTE, 12)   // Analog Input, Probe temp
132 132
 
133 133
 //
134 134
 // Heaters / Fans
@@ -138,25 +138,25 @@
138 138
 #define HEATER_BED_PIN     _STM32_PIN(PORTF,  6)
139 139
 
140 140
 #define FAN_PIN            _STM32_PIN(PORTD, 13)
141
-#define FAN1_PIN           _STM32_PIN(PORTA, 0)
142
-#define FAN2_PIN           _STM32_PIN(PORTA, 1)
141
+#define FAN1_PIN           _STM32_PIN(PORTA,  0)
142
+#define FAN2_PIN           _STM32_PIN(PORTA,  1)
143 143
 
144
-#define ORIG_E0_AUTO_FAN_PIN  _STM32_PIN(PORTA, 1) // Use this by NOT overriding E0_AUTO_FAN_PIN
144
+#define ORIG_E0_AUTO_FAN_PIN  _STM32_PIN(PORTA, 1)   // Use this by NOT overriding E0_AUTO_FAN_PIN
145 145
 
146 146
 //
147 147
 // Misc. Functions
148 148
 //
149 149
 
150
-//#define CASE_LIGHT_PIN_CI _STM32_PIN(PORTF, 13)  //
151
-//#define CASE_LIGHT_PIN_DO _STM32_PIN(PORTF, 14)  //
150
+//#define CASE_LIGHT_PIN_CI _STM32_PIN(PORTF, 13)
151
+//#define CASE_LIGHT_PIN_DO _STM32_PIN(PORTF, 14)
152 152
 //#define NEOPIXEL_PIN     _STM32_PIN(PORTF, 13)
153 153
 
154 154
 //
155 155
 // Prusa i3 MK2 Multi Material Multiplexer Support
156 156
 //
157 157
 
158
-#define E_MUX0_PIN         _STM32_PIN(PORTG, 3)
159
-#define E_MUX1_PIN         _STM32_PIN(PORTG, 4)
158
+#define E_MUX0_PIN         _STM32_PIN(PORTG,  3)
159
+#define E_MUX1_PIN         _STM32_PIN(PORTG,  4)
160 160
 
161 161
 //
162 162
 // Servos
@@ -166,31 +166,31 @@
166 166
 #define SERVO1_PIN         _STM32_PIN(PORTE, 14)
167 167
 
168 168
 
169
-#define SDSS               _STM32_PIN(PORTA, 8)
170
-#define SS_PIN             _STM32_PIN(PORTA, 8)
171
-#define LED_PIN            _STM32_PIN(PORTA, 2)         //Alive
172
-#define PS_ON_PIN          _STM32_PIN(PORTA, 3)
173
-#define KILL_PIN           -1//_STM32_PIN(PORTD, 5)     //EXP2-10
174
-#define PWR_LOSS           _STM32_PIN(PORTG, 5)         //Power loss / nAC_FAULT
169
+#define SDSS               _STM32_PIN(PORTA,  8)
170
+#define SS_PIN             _STM32_PIN(PORTA,  8)
171
+#define LED_PIN            _STM32_PIN(PORTA,  2)   // Alive
172
+#define PS_ON_PIN          _STM32_PIN(PORTA,  3)
173
+#define KILL_PIN           -1//_STM32_PIN(PORTD,  5)   // EXP2-10
174
+#define PWR_LOSS           _STM32_PIN(PORTG,  5)   // Power loss / nAC_FAULT
175 175
 
176 176
 //
177 177
 // MAX7219_DEBUG
178 178
 //
179
-#define MAX7219_CLK_PIN    _STM32_PIN(PORTG, 10)     //EXP1-1
180
-#define MAX7219_DIN_PIN    _STM32_PIN(PORTD, 7)      //EXP1-3
181
-#define MAX7219_LOAD_PIN   _STM32_PIN(PORTD, 1)     //EXP1-5
179
+#define MAX7219_CLK_PIN    _STM32_PIN(PORTG, 10)   // EXP1-1
180
+#define MAX7219_DIN_PIN    _STM32_PIN(PORTD,  7)   // EXP1-3
181
+#define MAX7219_LOAD_PIN   _STM32_PIN(PORTD,  1)   // EXP1-5
182 182
 
183 183
 //
184 184
 // LCD / Controller
185 185
 //
186
-//#define SD_DETECT_PIN      -1 //_STM32_PIN(PORTB, 6))     //EXP2-4
187
-#define BEEPER_PIN         _STM32_PIN(PORTG, 10)        //EXP1-1
188
-#define LCD_PINS_RS        _STM32_PIN(PORTG, 9)         //EXP1-4
189
-#define LCD_PINS_ENABLE    _STM32_PIN(PORTD, 7)         //EXP1-3
190
-#define LCD_PINS_D4        _STM32_PIN(PORTD, 1)         //EXP1-5
191
-#define LCD_PINS_D5        _STM32_PIN(PORTF, 0)         //EXP1-6
192
-#define LCD_PINS_D6        _STM32_PIN(PORTD, 3)         //EXP1-7
193
-#define LCD_PINS_D7        _STM32_PIN(PORTD, 4)         //EXP1-8
194
-#define BTN_EN1            _STM32_PIN(PORTD, 6)         //EXP2-5
195
-#define BTN_EN2            _STM32_PIN(PORTD, 0)         //EXP2-3
196
-#define BTN_ENC            _STM32_PIN(PORTG, 11)        //EXP1-2
186
+//#define SD_DETECT_PIN      -1 //_STM32_PIN(PORTB, 6))     // EXP2-4
187
+#define BEEPER_PIN         _STM32_PIN(PORTG, 10)   // EXP1-1
188
+#define LCD_PINS_RS        _STM32_PIN(PORTG,  9)   // EXP1-4
189
+#define LCD_PINS_ENABLE    _STM32_PIN(PORTD,  7)   // EXP1-3
190
+#define LCD_PINS_D4        _STM32_PIN(PORTD,  1)   // EXP1-5
191
+#define LCD_PINS_D5        _STM32_PIN(PORTF,  0)   // EXP1-6
192
+#define LCD_PINS_D6        _STM32_PIN(PORTD,  3)   // EXP1-7
193
+#define LCD_PINS_D7        _STM32_PIN(PORTD,  4)   // EXP1-8
194
+#define BTN_EN1            _STM32_PIN(PORTD,  6)   // EXP2-5
195
+#define BTN_EN2            _STM32_PIN(PORTD,  0)   // EXP2-3
196
+#define BTN_ENC            _STM32_PIN(PORTG, 11)   // EXP1-2

+ 4
- 4
Marlin/src/pins/pins_ULTIMAIN_2.h Vedi File

@@ -101,8 +101,8 @@
101 101
 #define SDSS               53
102 102
 #define SD_DETECT_PIN      39
103 103
 #define LED_PIN             8
104
-#define SAFETY_TRIGGERED_PIN     28 // PIN to detect the safety circuit has triggered
105
-#define MAIN_VOLTAGE_MEASURE_PIN 14 // ANALOG PIN to measure the main voltage, with a 100k - 4k7 resitor divider.
104
+#define SAFETY_TRIGGERED_PIN     28   // PIN to detect the safety circuit has triggered
105
+#define MAIN_VOLTAGE_MEASURE_PIN 14   // ANALOG PIN to measure the main voltage, with a 100k - 4k7 resitor divider.
106 106
 
107 107
 //
108 108
 // LCD / Controller
@@ -127,8 +127,8 @@
127 127
 #if ENABLED(SPINDLE_LASER_ENABLE)   // use the LED_PIN for spindle speed control or case light
128 128
   #undef LED_PIN
129 129
   #define SPINDLE_DIR_PIN          16
130
-  #define SPINDLE_LASER_ENABLE_PIN 17  // Pin should have a pullup!
131
-  #define SPINDLE_LASER_PWM_PIN     8  // MUST BE HARDWARE PWM
130
+  #define SPINDLE_LASER_ENABLE_PIN 17   // Pin should have a pullup!
131
+  #define SPINDLE_LASER_PWM_PIN     8   // MUST BE HARDWARE PWM
132 132
 #else
133 133
   #undef LED_PIN
134 134
   #define CASE_LIGHT_PIN            8

+ 4
- 4
Marlin/src/pins/pins_ULTIMAKER.h Vedi File

@@ -43,7 +43,7 @@
43 43
 //
44 44
 // Servos
45 45
 //
46
-#define SERVO0_PIN         13 // untested
46
+#define SERVO0_PIN         13   // UNTESTED
47 47
 
48 48
 //
49 49
 // Limit Switches
@@ -157,6 +157,6 @@
157 157
 //
158 158
 // M3/M4/M5 - Spindle/Laser Control
159 159
 //
160
-#define SPINDLE_LASER_PWM_PIN     9  // MUST BE HARDWARE PWM
161
-#define SPINDLE_LASER_ENABLE_PIN 10  // Pin should have a pullup!
162
-#define SPINDLE_DIR_PIN          11  // use the EXP3 PWM header
160
+#define SPINDLE_LASER_PWM_PIN     9   // MUST BE HARDWARE PWM
161
+#define SPINDLE_LASER_ENABLE_PIN 10   // Pin should have a pullup!
162
+#define SPINDLE_DIR_PIN          11   // use the EXP3 PWM header

+ 32
- 32
Marlin/src/pins/pins_ULTIMAKER_OLD.h Vedi File

@@ -72,21 +72,21 @@
72 72
 // Limit Switches
73 73
 //
74 74
 #if ENABLED(board_rev_1_1_TO_1_3)
75
-  #define X_MIN_PIN          15  // SW1
76
-  #define X_MAX_PIN          14  // SW2
77
-  #define Y_MIN_PIN          17  // SW3
78
-  #define Y_MAX_PIN          16  // SW4
79
-  #define Z_MIN_PIN          19  // SW5
80
-  #define Z_MAX_PIN          18  // SW6
75
+  #define X_MIN_PIN          15   // SW1
76
+  #define X_MAX_PIN          14   // SW2
77
+  #define Y_MIN_PIN          17   // SW3
78
+  #define Y_MAX_PIN          16   // SW4
79
+  #define Z_MIN_PIN          19   // SW5
80
+  #define Z_MAX_PIN          18   // SW6
81 81
 #endif
82 82
 
83 83
 #if ENABLED(board_rev_1_0)
84
-  #define X_MIN_PIN          13  // SW1
85
-  #define X_MAX_PIN          12  // SW2
86
-  #define Y_MIN_PIN          11  // SW3
87
-  #define Y_MAX_PIN          10  // SW4
88
-  #define Z_MIN_PIN           9  // SW5
89
-  #define Z_MAX_PIN           8  // SW6
84
+  #define X_MIN_PIN          13   // SW1
85
+  #define X_MAX_PIN          12   // SW2
86
+  #define Y_MIN_PIN          11   // SW3
87
+  #define Y_MAX_PIN          10   // SW4
88
+  #define Z_MIN_PIN           9   // SW5
89
+  #define Z_MAX_PIN           8   // SW6
90 90
 #endif
91 91
 
92 92
 #if ENABLED(board_rev_1_5)
@@ -124,9 +124,9 @@
124 124
 #define E0_DIR_PIN         45
125 125
 #define E0_ENABLE_PIN      41
126 126
 
127
-#define E1_STEP_PIN        -1  // 49
128
-#define E1_DIR_PIN         -1  // 47
129
-#define E1_ENABLE_PIN      -1  // 48
127
+#define E1_STEP_PIN        -1   // 49
128
+#define E1_DIR_PIN         -1   // 47
129
+#define E1_ENABLE_PIN      -1   // 48
130 130
 
131 131
 //
132 132
 // Temperature Sensors
@@ -138,7 +138,7 @@
138 138
 // Heaters / Fans
139 139
 //
140 140
 #define HEATER_0_PIN        2
141
-//#define HEATER_1_PIN        3 // used for case light   Rev A said "1"
141
+//#define HEATER_1_PIN        3   // used for case light   Rev A said "1"
142 142
 #define HEATER_BED_PIN      4
143 143
 
144 144
 //
@@ -196,7 +196,7 @@
196 196
 // case light  - see spindle section for more info on available hardware PWMs
197 197
 //
198 198
 #if !PIN_EXISTS(CASE_LIGHT) && ENABLED(board_rev_1_5)
199
-  #define CASE_LIGHT_PIN        7  // use PWM -  MUST BE HARDWARE PWM
199
+  #define CASE_LIGHT_PIN        7   // use PWM -  MUST BE HARDWARE PWM
200 200
 #endif
201 201
 
202 202
 //
@@ -214,19 +214,19 @@
214 214
     #undef Z_MIN_PIN              // SW5
215 215
     #undef Z_MAX_PIN              // SW6
216 216
 
217
-    #define X_STOP_PIN         13  // SW1  (didn't change) - also has a useable hardware PWM
218
-    #define Y_STOP_PIN         12  // SW2
219
-    #define Z_STOP_PIN         11  // SW3
217
+    #define X_STOP_PIN         13   // SW1  (didn't change) - also has a useable hardware PWM
218
+    #define Y_STOP_PIN         12   // SW2
219
+    #define Z_STOP_PIN         11   // SW3
220 220
 
221
-    #define SPINDLE_DIR_PIN          10  // SW4
222
-    #define SPINDLE_LASER_PWM_PIN     9  // SW5  MUST BE HARDWARE PWM
223
-    #define SPINDLE_LASER_ENABLE_PIN  8  // SW6  Pin should have a pullup!
221
+    #define SPINDLE_DIR_PIN          10   // SW4
222
+    #define SPINDLE_LASER_PWM_PIN     9   // SW5  MUST BE HARDWARE PWM
223
+    #define SPINDLE_LASER_ENABLE_PIN  8   // SW6  Pin should have a pullup!
224 224
 
225 225
   #elif ENABLED(board_rev_1_5)      // use the same pins - but now they are on a different connector
226 226
 
227
-    #define SPINDLE_DIR_PIN          10  // EXP3-6 (silkscreen says 10)
228
-    #define SPINDLE_LASER_PWM_PIN     9  // EXP3-7 (silkscreen says 9) MUST BE HARDWARE PWM
229
-    #define SPINDLE_LASER_ENABLE_PIN  8  // EXP3-8 (silkscreen says 8) Pin should have a pullup!
227
+    #define SPINDLE_DIR_PIN          10   // EXP3-6 (silkscreen says 10)
228
+    #define SPINDLE_LASER_PWM_PIN     9   // EXP3-7 (silkscreen says 9) MUST BE HARDWARE PWM
229
+    #define SPINDLE_LASER_ENABLE_PIN  8   // EXP3-8 (silkscreen says 8) Pin should have a pullup!
230 230
 
231 231
   #elif ENABLED(board_rev_1_1_TO_1_3)
232 232
 
@@ -249,14 +249,14 @@
249 249
       #define E0_DIR_PIN               47
250 250
       #define E0_ENABLE_PIN            48
251 251
       #define SPINDLE_DIR_PIN          43
252
-      #define SPINDLE_LASER_PWM_PIN    45  // MUST BE HARDWARE PWM
253
-      #define SPINDLE_LASER_ENABLE_PIN 41  // Pin should have a pullup!
252
+      #define SPINDLE_LASER_PWM_PIN    45   // MUST BE HARDWARE PWM
253
+      #define SPINDLE_LASER_ENABLE_PIN 41   // Pin should have a pullup!
254 254
     #elif TEMP_SENSOR_BED == 0  // Can't use E0 so see if HEATER_BED_PIN is available
255 255
       #undef HEATER_BED_PIN
256
-      #define SPINDLE_DIR_PIN          38  // Probably pin 4 on 10 pin connector closest to the E0 socket
257
-      #define SPINDLE_LASER_PWM_PIN     4  // MUST BE HARDWARE PWM - Special precautions usually needed.
258
-      #define SPINDLE_LASER_ENABLE_PIN 40  // Pin should have a pullup! (Probably pin 6 on the 10-pin
259
-                                           // connector closest to the E0 socket)
256
+      #define SPINDLE_DIR_PIN          38   // Probably pin 4 on 10 pin connector closest to the E0 socket
257
+      #define SPINDLE_LASER_PWM_PIN     4   // MUST BE HARDWARE PWM - Special precautions usually needed.
258
+      #define SPINDLE_LASER_ENABLE_PIN 40   // Pin should have a pullup! (Probably pin 6 on the 10-pin
259
+                                            // connector closest to the E0 socket)
260 260
     #endif
261 261
   #endif
262 262
 #endif

+ 64
- 64
Marlin/src/pins/pins_ULTRATRONICS_PRO.h Vedi File

@@ -35,117 +35,117 @@
35 35
 // Servos
36 36
 //
37 37
 #if NUM_SERVOS > 0
38
-  #define SERVO0_PIN     11
38
+  #define SERVO0_PIN       11
39 39
   #if NUM_SERVOS > 1
40
-    #define SERVO1_PIN   12
40
+    #define SERVO1_PIN     12
41 41
   #endif
42 42
 #endif
43 43
 
44 44
 //
45 45
 // Limit Switches
46 46
 //
47
-#define X_MIN_PIN        31
48
-#define X_MAX_PIN        30
49
-#define Y_MIN_PIN        12
50
-#define Y_MAX_PIN        11
51
-#define Z_MIN_PIN        29
52
-#define Z_MAX_PIN        28
47
+#define X_MIN_PIN          31
48
+#define X_MAX_PIN          30
49
+#define Y_MIN_PIN          12
50
+#define Y_MAX_PIN          11
51
+#define Z_MIN_PIN          29
52
+#define Z_MAX_PIN          28
53 53
 
54 54
 //
55 55
 // Steppers
56 56
 //
57
-#define X_STEP_PIN       35
58
-#define X_DIR_PIN        34
59
-#define X_ENABLE_PIN     37
57
+#define X_STEP_PIN         35
58
+#define X_DIR_PIN          34
59
+#define X_ENABLE_PIN       37
60 60
 
61
-#define Y_STEP_PIN       22
62
-#define Y_DIR_PIN        23
63
-#define Y_ENABLE_PIN     33
61
+#define Y_STEP_PIN         22
62
+#define Y_DIR_PIN          23
63
+#define Y_ENABLE_PIN       33
64 64
 
65
-#define Z_STEP_PIN       25
66
-#define Z_DIR_PIN        26
67
-#define Z_ENABLE_PIN     24
65
+#define Z_STEP_PIN         25
66
+#define Z_DIR_PIN          26
67
+#define Z_ENABLE_PIN       24
68 68
 
69
-#define E0_STEP_PIN      47
70
-#define E0_DIR_PIN       46
71
-#define E0_ENABLE_PIN    48
69
+#define E0_STEP_PIN        47
70
+#define E0_DIR_PIN         46
71
+#define E0_ENABLE_PIN      48
72 72
 
73
-#define E1_STEP_PIN      44
74
-#define E1_DIR_PIN       36
75
-#define E1_ENABLE_PIN    45
73
+#define E1_STEP_PIN        44
74
+#define E1_DIR_PIN         36
75
+#define E1_ENABLE_PIN      45
76 76
 
77
-#define E2_STEP_PIN      42
78
-#define E2_DIR_PIN       41
79
-#define E2_ENABLE_PIN    43
77
+#define E2_STEP_PIN        42
78
+#define E2_DIR_PIN         41
79
+#define E2_ENABLE_PIN      43
80 80
 
81
-#define E3_STEP_PIN      39
82
-#define E3_DIR_PIN       38
83
-#define E3_ENABLE_PIN    40
81
+#define E3_STEP_PIN        39
82
+#define E3_DIR_PIN         38
83
+#define E3_ENABLE_PIN      40
84 84
 
85 85
 //
86 86
 // Temperature Sensors
87 87
 //
88
-#define TEMP_0_PIN        0  // Analog Input
89
-#define TEMP_1_PIN        2  // Analog Input
90
-#define TEMP_2_PIN        3  // Analog Input
91
-#define TEMP_3_PIN        4  // Analog Input
92
-#define TEMP_BED_PIN      1  // Analog Input
88
+#define TEMP_0_PIN          0   // Analog Input
89
+#define TEMP_1_PIN          2   // Analog Input
90
+#define TEMP_2_PIN          3   // Analog Input
91
+#define TEMP_3_PIN          4   // Analog Input
92
+#define TEMP_BED_PIN        1   // Analog Input
93 93
 
94 94
 //
95 95
 // Heaters / Fans
96 96
 //
97
-#define HEATER_0_PIN      3
98
-#define HEATER_1_PIN      8
99
-#define HEATER_2_PIN      7
100
-#define HEATER_3_PIN      9
101
-#define HEATER_BED_PIN    2
97
+#define HEATER_0_PIN        3
98
+#define HEATER_1_PIN        8
99
+#define HEATER_2_PIN        7
100
+#define HEATER_3_PIN        9
101
+#define HEATER_BED_PIN      2
102 102
 
103
-#define FAN_PIN           6
104
-#define FAN2_PIN          5
103
+#define FAN_PIN             6
104
+#define FAN2_PIN            5
105 105
 
106 106
 //
107 107
 // Misc. Functions
108 108
 //
109
-#define SDSS             59
110
-#define SD_DETECT_PIN    60
111
-#define LED_PIN          13
112
-#define PS_ON_PIN        32
109
+#define SDSS               59
110
+#define SD_DETECT_PIN      60
111
+#define LED_PIN            13
112
+#define PS_ON_PIN          32
113 113
 
114 114
 //
115 115
 // SPI Buses
116 116
 //
117 117
 
118
-#define DAC0_SYNC        53 // PB14
119
-#define SPI_CHAN_DAC      1
118
+#define DAC0_SYNC          53   // PB14
119
+#define SPI_CHAN_DAC        1
120 120
 
121
-#define SPI_CHAN_EEPROM1 -1
122
-#define SPI_EEPROM1_CS   -1
123
-#define SPI_EEPROM2_CS   -1
124
-#define SPI_FLASH_CS     -1
121
+#define SPI_CHAN_EEPROM1   -1
122
+#define SPI_EEPROM1_CS     -1
123
+#define SPI_EEPROM2_CS     -1
124
+#define SPI_FLASH_CS       -1
125 125
 
126 126
 // SPI for Max6675 or Max31855 Thermocouple
127
-#define MAX6675_SS       65
128
-#define MAX31855_SS0     65
129
-#define MAX31855_SS1     52
130
-#define MAX31855_SS2     50
131
-#define MAX31855_SS3     51
127
+#define MAX6675_SS         65
128
+#define MAX31855_SS0       65
129
+#define MAX31855_SS1       52
130
+#define MAX31855_SS2       50
131
+#define MAX31855_SS3       51
132 132
 
133
-#define ENC424_SS        61
133
+#define ENC424_SS          61
134 134
 
135 135
 //
136 136
 // LCD / Controller
137 137
 //
138 138
 
139
-#define BEEPER_PIN       27
139
+#define BEEPER_PIN         27
140 140
 
141 141
 #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
142 142
 
143
-  #define LCD_PINS_RS     A8    // CS chip select / SS chip slave select
144
-  #define LCD_PINS_ENABLE MOSI  // SID (MOSI)
145
-  #define LCD_PINS_D4     SCK   // SCK (CLK) clock
143
+  #define LCD_PINS_RS      A8     // CS chip select / SS chip slave select
144
+  #define LCD_PINS_ENABLE  MOSI   // SID (MOSI)
145
+  #define LCD_PINS_D4      SCK    // SCK (CLK) clock
146 146
 
147
-  #define BTN_EN1         20
148
-  #define BTN_EN2         21
149
-  #define BTN_ENC         64
147
+  #define BTN_EN1          20
148
+  #define BTN_EN2          21
149
+  #define BTN_ENC          64
150 150
 
151 151
 #endif // REPRAPWORLD_GRAPHICAL_LCD

Loading…
Annulla
Salva