Parcourir la source

Apply spacing in pins files

Scott Lahteine il y a 6 ans
Parent
révision
436e5b7ea3
76 fichiers modifiés avec 955 ajouts et 974 suppressions
  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 Voir le fichier

153
     #define Z_DIR_PIN                28
153
     #define Z_DIR_PIN                28
154
     #define Z_ENABLE_PIN             24
154
     #define Z_ENABLE_PIN             24
155
     #define Z_STEP_PIN               26
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
     #define SPINDLE_DIR_PIN          48
158
     #define SPINDLE_DIR_PIN          48
159
   #elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)) // use expansion header if no LCD in use
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
     #define SPINDLE_DIR_PIN          17
161
     #define SPINDLE_DIR_PIN          17
162
   #endif
162
   #endif
163
 #endif
163
 #endif

+ 1
- 1
Marlin/src/pins/pins_5DPRINT.h Voir le fichier

140
 #define SDSS               20   // B0
140
 #define SDSS               20   // B0
141
 
141
 
142
 //DIGIPOTS slave addresses
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 Voir le fichier

42
 //
42
 //
43
 // Limit Switches
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
 // Steppers
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
 // Microstepping pins - Mapping not from fastio.h (?)
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
 // Temperature Sensors
92
 // Temperature Sensors
101
 // Heaters / Fans
101
 // Heaters / Fans
102
 //
102
 //
103
 // Note that on the Due pin A0 on the board is channel 2 on the ARM chip
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
 // Misc. Functions
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
 #define EXP_VOLTAGE_LEVEL_PIN 65
121
 #define EXP_VOLTAGE_LEVEL_PIN 65
122
 
122
 
123
 #define SPI_CHAN_DAC           1
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
 // 64K SPI EEPROM
128
 // 64K SPI EEPROM
129
 #define SPI_EEPROM
129
 #define SPI_EEPROM
130
 #define SPI_CHAN_EEPROM1       2
130
 #define SPI_CHAN_EEPROM1       2
131
-#define SPI_EEPROM1_CS        25 // PD0
131
+#define SPI_EEPROM1_CS        25   // PD0
132
 
132
 
133
 // 2K SPI EEPROM
133
 // 2K SPI EEPROM
134
-#define SPI_EEPROM2_CS        26 // PD1
134
+#define SPI_EEPROM2_CS        26   // PD1
135
 
135
 
136
 // FLASH SPI
136
 // FLASH SPI
137
 // 32Mb
137
 // 32Mb
138
-#define SPI_FLASH_CS          23 // PA14
138
+#define SPI_FLASH_CS          23   // PA14
139
 
139
 
140
 //
140
 //
141
 // LCD / Controller
141
 // LCD / Controller

+ 7
- 7
Marlin/src/pins/pins_ANET_10.h Voir le fichier

125
 //
125
 //
126
 // Temperature Sensors
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
 // Heaters / Fans
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
 #define FAN_PIN             4
136
 #define FAN_PIN             4
137
 
137
 
138
 //
138
 //
153
 #if ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)
153
 #if ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)
154
   #define LCD_SDSS           28
154
   #define LCD_SDSS           28
155
   #if ENABLED(ADC_KEYPAD)
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
     #define LCD_PINS_RS      28
157
     #define LCD_PINS_RS      28
158
     #define LCD_PINS_ENABLE  29
158
     #define LCD_PINS_ENABLE  29
159
     #define LCD_PINS_D4      10
159
     #define LCD_PINS_D4      10
168
     // Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics
168
     // Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics
169
     // display using an adapter board  // https://go.aisler.net/benlye/anet-lcd-adapter/pcb
169
     // display using an adapter board  // https://go.aisler.net/benlye/anet-lcd-adapter/pcb
170
     // See below for alternative pin definitions for use with https://www.thingiverse.com/thing:2103748
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
     #define BEEPER_PIN       17
172
     #define BEEPER_PIN       17
173
     #define LCD_PINS_RS      27
173
     #define LCD_PINS_RS      27
174
     #define LCD_PINS_ENABLE  28
174
     #define LCD_PINS_ENABLE  28
201
  * published by oderwat on Thingiverse at https://www.thingiverse.com/thing:2103748.
201
  * published by oderwat on Thingiverse at https://www.thingiverse.com/thing:2103748.
202
  *
202
  *
203
  * Using that adapter requires changing the pin definition as follows:
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
  *   #define BEEPER_PIN        28
205
  *   #define BEEPER_PIN        28
206
  *   #define LCD_PINS_RS       30
206
  *   #define LCD_PINS_RS       30
207
  *   #define LCD_PINS_ENABLE   29
207
  *   #define LCD_PINS_ENABLE   29

+ 3
- 3
Marlin/src/pins/pins_AZSMZ_MINI.h Voir le fichier

72
 // Temperature Sensors
72
 // Temperature Sensors
73
 //  3.3V max when defined as an analog input
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
 // Heaters / Fans
80
 // Heaters / Fans

+ 7
- 7
Marlin/src/pins/pins_AZTEEG_X3.h Voir le fichier

32
   #error "Azteeg X3 supports up to 2 hotends / E-steppers. Comment out this line to continue."
32
   #error "Azteeg X3 supports up to 2 hotends / E-steppers. Comment out this line to continue."
33
 #endif
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
 #endif
37
 #endif
38
 #define BOARD_NAME "Azteeg X3"
38
 #define BOARD_NAME "Azteeg X3"
39
 
39
 
44
 //
44
 //
45
 #undef SERVO0_PIN
45
 #undef SERVO0_PIN
46
 #undef SERVO1_PIN
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
 // LCD / Controller
51
 // LCD / Controller
91
   #undef SCL
91
   #undef SCL
92
   #if SERVO0_PIN == 7
92
   #if SERVO0_PIN == 7
93
     #undef SERVO0_PIN
93
     #undef SERVO0_PIN
94
-    #def SERVO0_PIN 11
94
+    #define SERVO0_PIN     11
95
   #endif
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
   #define SPINDLE_DIR_PIN          21
98
   #define SPINDLE_DIR_PIN          21
99
 #endif
99
 #endif

+ 14
- 15
Marlin/src/pins/pins_AZTEEG_X3_PRO.h Voir le fichier

28
   #error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
28
   #error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
29
 #endif
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
 #endif
33
 #endif
34
 
34
 
35
-
36
 #define BOARD_NAME "Azteeg X3 Pro"
35
 #define BOARD_NAME "Azteeg X3 Pro"
37
 
36
 
38
 #include "pins_RAMPS.h"
37
 #include "pins_RAMPS.h"
42
 #endif
41
 #endif
43
 
42
 
44
 // DIGIPOT slave addresses
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
 // Servos
48
 // Servos
118
 #define HEATER_7_PIN       11
117
 #define HEATER_7_PIN       11
119
 
118
 
120
 #undef FAN_PIN
119
 #undef FAN_PIN
121
-#define FAN_PIN             6 // Part Cooling System
120
+#define FAN_PIN             6   // Part Cooling System
122
 
121
 
123
 #ifndef CONTROLLER_FAN_PIN
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
 #endif
124
 #endif
126
 
125
 
127
 // Fans/Water Pump to cool the hotend cool side.
126
 // Fans/Water Pump to cool the hotend cool side.
140
   #undef SD_DETECT_PIN
139
   #undef SD_DETECT_PIN
141
   #define SD_DETECT_PIN    49   // For easy adapter board
140
   #define SD_DETECT_PIN    49   // For easy adapter board
142
   #undef BEEPER_PIN
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
 #else
143
 #else
145
   #define STAT_LED_RED_PIN  32
144
   #define STAT_LED_RED_PIN  32
146
   #define STAT_LED_BLUE_PIN 35
145
   #define STAT_LED_BLUE_PIN 35
150
 // Misc. Functions
149
 // Misc. Functions
151
 //
150
 //
152
 #if ENABLED(CASE_LIGHT_ENABLE)  && PIN_EXISTS(CASE_LIGHT) && defined(DOGLCD_A0) && DOGLCD_A0 == CASE_LIGHT_PIN
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
 #endif
155
 #endif
157
 
156
 
158
 //
157
 //
162
 #undef SPINDLE_LASER_ENABLE_PIN
161
 #undef SPINDLE_LASER_ENABLE_PIN
163
 #undef SPINDLE_DIR_PIN
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
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
165
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
167
     #undef BTN_EN2
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
   #endif
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
   #define SPINDLE_DIR_PIN          21
171
   #define SPINDLE_DIR_PIN          21
173
 #endif
172
 #endif
174
 
173
 

+ 4
- 4
Marlin/src/pins/pins_AZTEEG_X5_GT.h Voir le fichier

73
 // Temperature Sensors
73
 // Temperature Sensors
74
 // 3.3V max when defined as an analog input
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
     #define BTN_EN2           P3_26
101
     #define BTN_EN2           P3_26
102
     #define BTN_ENC           P2_11
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
     #define KILL_PIN          -1
106
     #define KILL_PIN          -1
107
 
107
 

+ 2
- 2
Marlin/src/pins/pins_BAM_DICE_DUE.h Voir le fichier

33
 //
33
 //
34
 // M3/M4/M5 - Spindle/Laser Control
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
 #define SPINDLE_DIR_PIN          67
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
 #include "pins_RAMPS.h"
40
 #include "pins_RAMPS.h"
41
 
41
 

+ 12
- 12
Marlin/src/pins/pins_BEAST.h Voir le fichier

95
 //
95
 //
96
 // Heaters / Fans
96
 // Heaters / Fans
97
 //
97
 //
98
-#define HEATER_0_PIN       PD12  // EXTRUDER 1
98
+#define HEATER_0_PIN       PD12   // EXTRUDER 1
99
 #define HEATER_1_PIN       PD13
99
 #define HEATER_1_PIN       PD13
100
 #define HEATER_2_PIN       PD14
100
 #define HEATER_2_PIN       PD14
101
 
101
 
121
 #if ENABLED(ULTRA_LCD)
121
 #if ENABLED(ULTRA_LCD)
122
 
122
 
123
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
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
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
127
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
128
     #define LCD_PINS_RS         PB8
128
     #define LCD_PINS_RS         PB8
129
     #define LCD_PINS_ENABLE     PD2
129
     #define LCD_PINS_ENABLE     PD2
184
 
184
 
185
     #elif ENABLED(LCD_I2C_VIKI)
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
       #define BTN_ENC           -1
190
       #define BTN_ENC           -1
191
       #define LCD_SDSS          53
191
       #define LCD_SDSS          53
205
       #define BTN_ENC           39
205
       #define BTN_ENC           39
206
 
206
 
207
       #define SDSS              53
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
       #define KILL_PIN          31
210
       #define KILL_PIN          31
211
 
211
 
231
       // Pins for DOGM SPI LCD Support
231
       // Pins for DOGM SPI LCD Support
232
       #define DOGLCD_A0         44
232
       #define DOGLCD_A0         44
233
       #define DOGLCD_CS         66
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
       #define SDSS              53
235
       #define SDSS              53
236
 
236
 
237
       #define KILL_PIN          64
237
       #define KILL_PIN          64
262
         #define SHIFT_CLK       44
262
         #define SHIFT_CLK       44
263
         #define SHIFT_LD        42
263
         #define SHIFT_LD        42
264
       #elif ENABLED(PANEL_ONE)
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
       #else
268
       #else
269
         #define BTN_EN1         37
269
         #define BTN_EN1         37
270
         #define BTN_EN2         35
270
         #define BTN_EN2         35
275
         #define SD_DETECT_PIN   49
275
         #define SD_DETECT_PIN   49
276
         #define KILL_PIN        41
276
         #define KILL_PIN        41
277
       #else
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
       #endif
279
       #endif
280
 
280
 
281
     #endif
281
     #endif

+ 22
- 22
Marlin/src/pins/pins_BIQU_BQ111_A4.h Voir le fichier

41
 //
41
 //
42
 // Limit Switches
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
 // Temperature Sensors
73
 // Temperature Sensors
74
 //  3.3V max when defined as an analog input
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
 //
87
 //
88
 // Unused
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
  * LCD / Controller
94
  * LCD / Controller
102
  */
102
  */
103
 #if ENABLED(ULTRA_LCD)
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
   #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) && !ENABLED(DOGLCD)
116
   #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) && !ENABLED(DOGLCD)
117
     #error "REPRAP_DISCOUNT_SMART_CONTROLLER is not supported by the BIQU BQ111-A4"
117
     #error "REPRAP_DISCOUNT_SMART_CONTROLLER is not supported by the BIQU BQ111-A4"
132
  */
132
  */
133
 #if ENABLED(SDSUPPORT)
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
   #define SDSS      SS_PIN
139
   #define SDSS      SS_PIN
140
 
140
 
141
 #endif // SDSUPPORT
141
 #endif // SDSUPPORT

+ 10
- 10
Marlin/src/pins/pins_BQ_ZUM_MEGA_3D.h Voir le fichier

49
 //
49
 //
50
 // Misc. Functions
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
 // M3/M4/M5 - Spindle/Laser Control
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
 #define SPINDLE_DIR_PIN          42
59
 #define SPINDLE_DIR_PIN          42
60
 
60
 
61
 #include "pins_RAMPS_13.h"
61
 #include "pins_RAMPS_13.h"
64
 // Limit Switches
64
 // Limit Switches
65
 //
65
 //
66
 #undef X_MAX_PIN
66
 #undef X_MAX_PIN
67
-#define X_MAX_PIN         79 // 2
67
+#define X_MAX_PIN         79   // 2
68
 
68
 
69
 //
69
 //
70
 // Z Probe (when not Z_MIN_PIN)
70
 // Z Probe (when not Z_MIN_PIN)
71
 //
71
 //
72
 #undef Z_MIN_PROBE_PIN
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
 #undef Z_ENABLE_PIN
75
 #undef Z_ENABLE_PIN
76
-#define Z_ENABLE_PIN      77 // 62
76
+#define Z_ENABLE_PIN      77   // 62
77
 
77
 
78
 //
78
 //
79
 // Steppers
79
 // Steppers
93
 //
93
 //
94
 // Misc. Functions
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
 // This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team
100
 // This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team
104
 #ifdef Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
104
 #ifdef Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
105
   #undef Z_MIN_PIN
105
   #undef Z_MIN_PIN
106
   #undef Z_MAX_PIN
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
 #endif
109
 #endif
110
 
110
 
111
 
111
 

+ 0
- 0
Marlin/src/pins/pins_BRAINWAVE.h Voir le fichier


+ 0
- 0
Marlin/src/pins/pins_BRAINWAVE_PRO.h Voir le fichier


+ 2
- 2
Marlin/src/pins/pins_CHEAPTRONIC.h Voir le fichier

69
 //
69
 //
70
 // Heaters / Fans
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
 #define HEATER_BED_PIN     22
74
 #define HEATER_BED_PIN     22
75
 
75
 
76
 //
76
 //

+ 12
- 12
Marlin/src/pins/pins_CHITU3D.h Voir le fichier

21
  */
21
  */
22
 
22
 
23
 #if !defined(__STM32F1__) && !defined(__STM32F4__)
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
 #endif
25
 #endif
26
 
26
 
27
 /**
27
 /**
120
 #if ENABLED(ULTRA_LCD)
120
 #if ENABLED(ULTRA_LCD)
121
 
121
 
122
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
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
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
126
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
127
     #define LCD_PINS_RS         PB8
127
     #define LCD_PINS_RS         PB8
128
     #define LCD_PINS_ENABLE     PD2
128
     #define LCD_PINS_ENABLE     PD2
183
 
183
 
184
     #elif ENABLED(LCD_I2C_VIKI)
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
       #define BTN_ENC           -1
189
       #define BTN_ENC           -1
190
       #define LCD_SDSS          53
190
       #define LCD_SDSS          53
204
       #define BTN_ENC           39
204
       #define BTN_ENC           39
205
 
205
 
206
       #define SDSS              53
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
       #define KILL_PIN          31
209
       #define KILL_PIN          31
210
 
210
 
229
       // Pins for DOGM SPI LCD Support
229
       // Pins for DOGM SPI LCD Support
230
       #define DOGLCD_A0         44
230
       #define DOGLCD_A0         44
231
       #define DOGLCD_CS         66
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
       #define SDSS              53
233
       #define SDSS              53
234
 
234
 
235
       #define KILL_PIN          64
235
       #define KILL_PIN          64
260
         #define SHIFT_CLK       44
260
         #define SHIFT_CLK       44
261
         #define SHIFT_LD        42
261
         #define SHIFT_LD        42
262
       #elif ENABLED(PANEL_ONE)
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
       #else
266
       #else
267
         #define BTN_EN1         37
267
         #define BTN_EN1         37
268
         #define BTN_EN2         35
268
         #define BTN_EN2         35
273
         #define SD_DETECT_PIN   49
273
         #define SD_DETECT_PIN   49
274
         #define KILL_PIN        41
274
         #define KILL_PIN        41
275
       #else
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
       #endif
277
       #endif
278
 
278
 
279
     #endif
279
     #endif

+ 2
- 2
Marlin/src/pins/pins_CNCONTROLS_11.h Voir le fichier

65
 #define HEATER_3_PIN       46
65
 #define HEATER_3_PIN       46
66
 #define HEATER_BED_PIN      2
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
 #define ORIG_E0_AUTO_FAN_PIN 7
70
 #define ORIG_E0_AUTO_FAN_PIN 7
71
 #define ORIG_E1_AUTO_FAN_PIN 7
71
 #define ORIG_E1_AUTO_FAN_PIN 7
84
 //#define TOOL_1_PIN          59
84
 //#define TOOL_1_PIN          59
85
 //#define TOOL_2_PIN           8
85
 //#define TOOL_2_PIN           8
86
 //#define TOOL_3_PIN          30
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
 // Common I/O
89
 // Common I/O
90
 
90
 

+ 4
- 4
Marlin/src/pins/pins_CNCONTROLS_12.h Voir le fichier

65
 #define HEATER_3_PIN        3
65
 #define HEATER_3_PIN        3
66
 #define HEATER_BED_PIN     24
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
 #define ORIG_E0_AUTO_FAN_PIN 7
70
 #define ORIG_E0_AUTO_FAN_PIN 7
71
 #define ORIG_E1_AUTO_FAN_PIN 7
71
 #define ORIG_E1_AUTO_FAN_PIN 7
81
 // Tools
81
 // Tools
82
 
82
 
83
 //#define TOOL_0_PIN         56
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
 //#define TOOL_1_PIN         59
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
 //#define TOOL_2_PIN          4
87
 //#define TOOL_2_PIN          4
88
 //#define TOOL_2_PWM_PIN      5
88
 //#define TOOL_2_PWM_PIN      5
89
 //#define TOOL_3_PIN         14
89
 //#define TOOL_3_PIN         14
124
 //#define UI2              37
124
 //#define UI2              37
125
 
125
 
126
 #define STAT_LED_BLUE_PIN  -1
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 Voir le fichier

41
 //
41
 //
42
 // Limit Switches
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
 // Steppers
52
 // Steppers
54
 #define X_STEP_PIN          P2_00
54
 #define X_STEP_PIN          P2_00
55
 #define X_DIR_PIN           P0_05
55
 #define X_DIR_PIN           P0_05
56
 #define X_ENABLE_PIN        P0_04
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
 #define Y_STEP_PIN          P2_01
59
 #define Y_STEP_PIN          P2_01
60
 #define Y_DIR_PIN           P0_11
60
 #define Y_DIR_PIN           P0_11
61
 #define Y_ENABLE_PIN        P0_10
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
 #define Z_STEP_PIN          P2_02
64
 #define Z_STEP_PIN          P2_02
65
 #define Z_DIR_PIN           P0_20
65
 #define Z_DIR_PIN           P0_20
66
 #define Z_ENABLE_PIN        P0_19
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
 #define E0_STEP_PIN         P2_03
69
 #define E0_STEP_PIN         P2_03
70
 #define E0_DIR_PIN          P0_22
70
 #define E0_DIR_PIN          P0_22
71
 #define E0_ENABLE_PIN       P0_21
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
 // Default pins for TMC software SPI
75
 // Default pins for TMC software SPI
76
 //
76
 //
77
 #if ENABLED(TMC_USE_SW_SPI)
77
 #if ENABLED(TMC_USE_SW_SPI)
78
   #ifndef TMC_SW_MOSI
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
   #endif
80
   #endif
81
   #ifndef TMC_SW_MISO
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
   #endif
83
   #endif
84
   #ifndef TMC_SW_SCK
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
   #endif
86
   #endif
87
 #endif
87
 #endif
88
 
88
 
90
 // Analog Inputs
90
 // Analog Inputs
91
 //  3.3V max when defined as an analog input
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
 // Heaters / Fans
97
 // Heaters / Fans
98
 //
98
 //
99
 #define HEATER_BED_PIN      P2_05
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
 // Auto fans
105
 // Auto fans
111
 //
111
 //
112
 // Misc. Functions
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
 // M3/M4/M5 - Spindle/Laser Control
117
 // M3/M4/M5 - Spindle/Laser Control
118
 //
118
 //
119
 #if ENABLED(SPINDLE_LASER_ENABLE)
119
 #if ENABLED(SPINDLE_LASER_ENABLE)
120
   #undef HEATER_0_PIN
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
   #undef HEATER_BED_PIN
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
   #undef FAN_PIN
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
 #endif
126
 #endif
127
 
127
 
128
 //
128
 //
137
 //
137
 //
138
 #if ENABLED(ULTRA_LCD)
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
   #if ENABLED(SDSUPPORT)
153
   #if ENABLED(SDSUPPORT)
154
     #error "SDSUPPORT is not currently supported by the Cohesion3D boards"
154
     #error "SDSUPPORT is not currently supported by the Cohesion3D boards"

+ 40
- 40
Marlin/src/pins/pins_COHESION3D_REMIX.h Voir le fichier

41
 //
41
 //
42
 // Limit Switches
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
 // Steppers
52
 // Steppers
54
 #define X_STEP_PIN          P2_00
54
 #define X_STEP_PIN          P2_00
55
 #define X_DIR_PIN           P0_05
55
 #define X_DIR_PIN           P0_05
56
 #define X_ENABLE_PIN        P0_04
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
 #define Y_STEP_PIN          P2_01
59
 #define Y_STEP_PIN          P2_01
60
 #define Y_DIR_PIN           P0_11
60
 #define Y_DIR_PIN           P0_11
61
 #define Y_ENABLE_PIN        P0_10
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
 #define Z_STEP_PIN          P2_02
64
 #define Z_STEP_PIN          P2_02
65
 #define Z_DIR_PIN           P0_20
65
 #define Z_DIR_PIN           P0_20
66
 #define Z_ENABLE_PIN        P0_19
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
 #define E0_STEP_PIN         P2_03
69
 #define E0_STEP_PIN         P2_03
70
 #define E0_DIR_PIN          P0_22
70
 #define E0_DIR_PIN          P0_22
71
 #define E0_ENABLE_PIN       P0_21
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
 #define E1_STEP_PIN         P2_08
74
 #define E1_STEP_PIN         P2_08
75
 #define E1_DIR_PIN          P2_13
75
 #define E1_DIR_PIN          P2_13
76
 #define E1_ENABLE_PIN       P4_29
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
 #define E2_STEP_PIN         P1_20
79
 #define E2_STEP_PIN         P1_20
80
 #define E2_DIR_PIN          P1_19
80
 #define E2_DIR_PIN          P1_19
81
 #define E2_ENABLE_PIN       P1_21
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
 // Default pins for TMC software SPI
85
 // Default pins for TMC software SPI
86
 //
86
 //
87
 #if ENABLED(TMC_USE_SW_SPI)
87
 #if ENABLED(TMC_USE_SW_SPI)
88
   #ifndef TMC_SW_MOSI
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
   #endif
90
   #endif
91
   #ifndef TMC_SW_MISO
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
   #endif
93
   #endif
94
   #ifndef TMC_SW_SCK
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
   #endif
96
   #endif
97
 #endif
97
 #endif
98
 
98
 
100
 // Analog Inputs
100
 // Analog Inputs
101
 //  3.3V max when defined as an analog input
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
 #if ENABLED(FILAMENT_WIDTH_SENSOR)
106
 #if ENABLED(FILAMENT_WIDTH_SENSOR)
107
-  #define FILWIDTH_PIN      3 // P0_26
107
+  #define FILWIDTH_PIN      3   // P0_26
108
 #else
108
 #else
109
-  #define TEMP_2_PIN        3 // P0_26
109
+  #define TEMP_2_PIN        3   // P0_26
110
 #endif
110
 #endif
111
 
111
 
112
 //
112
 //
113
 // Heaters / Fans
113
 // Heaters / Fans
114
 //
114
 //
115
 #define HEATER_BED_PIN      P2_05
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
 #if HOTENDS == 3
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
 #else
121
 #else
122
-  #define AUTO_FAN_PIN      P1_22 // FET 3
122
+  #define AUTO_FAN_PIN      P1_22   // FET 3
123
 #endif
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
 // Auto fans
127
 // Auto fans
133
 //
133
 //
134
 // Misc. Functions
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
 // M3/M4/M5 - Spindle/Laser Control
139
 // M3/M4/M5 - Spindle/Laser Control
140
 //
140
 //
141
 #if ENABLED(SPINDLE_LASER_ENABLE)
141
 #if ENABLED(SPINDLE_LASER_ENABLE)
142
   #undef HEATER_0_PIN
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
   #undef HEATER_BED_PIN
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
   #undef FAN_PIN
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
 #endif
148
 #endif
149
 
149
 
150
 //
150
 //
159
 //
159
 //
160
 #if ENABLED(ULTRA_LCD)
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
   #if ENABLED(SDSUPPORT)
176
   #if ENABLED(SDSUPPORT)
177
     #error "SDSUPPORT is not currently supported by the Cohesion3D boards"
177
     #error "SDSUPPORT is not currently supported by the Cohesion3D boards"

+ 18
- 18
Marlin/src/pins/pins_DUE3DOM.h Voir le fichier

59
 #define Y_DIR_PIN          16
59
 #define Y_DIR_PIN          16
60
 #define Y_ENABLE_PIN       26
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
 // Temperature Sensors
79
 // Temperature Sensors
93
 //
93
 //
94
 // Heaters / Fans
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
 // Misc. Functions
105
 // Misc. Functions

+ 7
- 7
Marlin/src/pins/pins_DUE3DOM_MINI.h Voir le fichier

35
 //
35
 //
36
 #define SERVO0_PIN          5
36
 #define SERVO0_PIN          5
37
 #define SERVO1_PIN          6
37
 #define SERVO1_PIN          6
38
-#define SERVO2_PIN          8 // 4-pin header FAN0
38
+#define SERVO2_PIN          8   // 4-pin header FAN0
39
 #define SERVO3_PIN         -1
39
 #define SERVO3_PIN         -1
40
 
40
 
41
 //
41
 //
85
 //
85
 //
86
 // Heaters / Fans
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
 // Misc. Functions
97
 // Misc. Functions

+ 7
- 7
Marlin/src/pins/pins_EINSY_RAMBO.h Voir le fichier

71
   #define Y_MIN_PIN          Y_DIAG_PIN
71
   #define Y_MIN_PIN          Y_DIAG_PIN
72
 
72
 
73
   #if ENABLED(BLTOUCH)
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
   #else
76
   #else
77
     #define Z_MIN_PIN        10
77
     #define Z_MIN_PIN        10
78
   #endif
78
   #endif
152
 // M3/M4/M5 - Spindle/Laser Control
152
 // M3/M4/M5 - Spindle/Laser Control
153
 //
153
 //
154
 // use P1 connector for spindle pins
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
 #define SPINDLE_DIR_PIN          19
157
 #define SPINDLE_DIR_PIN          19
158
 
158
 
159
 //
159
 //
161
 //
161
 //
162
 #define E_MUX0_PIN         17
162
 #define E_MUX0_PIN         17
163
 #define E_MUX1_PIN         16
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
 // LCD / Controller
167
 // LCD / Controller
189
       #define BTN_EN2         72
189
       #define BTN_EN2         72
190
     #endif
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
     #define SD_DETECT_PIN     15
194
     #define SD_DETECT_PIN     15
195
 
195
 
196
   #endif // NEWPANEL
196
   #endif // NEWPANEL

+ 21
- 21
Marlin/src/pins/pins_ELEFU_3.h Voir le fichier

85
 //
85
 //
86
 // Heaters / Fans
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
 // Misc. Functions
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
 #define PHOTOGRAPH_PIN     29
100
 #define PHOTOGRAPH_PIN     29
101
 
101
 
102
 //
102
 //
122
   #define TLC_XLAT_PIN     22
122
   #define TLC_XLAT_PIN     22
123
   #define TLC_DATA_PIN     24
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
   // Leave it at at least 1 if you have enabled RA_LIGHTING
140
   // Leave it at at least 1 if you have enabled RA_LIGHTING
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.
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
   // These TRANS_ARRAY values let you change the order the LEDs on the lighting modules will animate for chase functions.
144
   // These TRANS_ARRAY values let you change the order the LEDs on the lighting modules will animate for chase functions.
145
   // Modify them according to your specific situation.
145
   // Modify them according to your specific situation.
146
   // NOTE: the array should be 8 long for every TLC you have. These defaults assume (2) TLCs.
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
 #endif // RA_DISCO
149
 #endif // RA_DISCO

+ 3
- 4
Marlin/src/pins/pins_GEN3_MONOLITHIC.h Voir le fichier

68
 //
68
 //
69
 #define X_STEP_PIN         15
69
 #define X_STEP_PIN         15
70
 #define X_DIR_PIN          18
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
 #define Y_STEP_PIN         23
73
 #define Y_STEP_PIN         23
74
 #define Y_DIR_PIN          22
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
 #define Z_STEP_PIN         27
77
 #define Z_STEP_PIN         27
78
 #define Z_DIR_PIN          28
78
 #define Z_DIR_PIN          28
95
 //
95
 //
96
 // Misc. Functions
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
 // Alex extras from Gen3+
100
 // Alex extras from Gen3+
101
-

+ 6
- 6
Marlin/src/pins/pins_GEN7_12.h Voir le fichier

60
 #endif
60
 #endif
61
 
61
 
62
 #ifndef GEN7_VERSION
62
 #ifndef GEN7_VERSION
63
-  #define GEN7_VERSION 12 // v1.x
63
+  #define GEN7_VERSION 12   // v1.x
64
 #endif
64
 #endif
65
 
65
 
66
 //
66
 //
122
 #define PS_ON_PIN          15
122
 #define PS_ON_PIN          15
123
 
123
 
124
 #if GEN7_VERSION < 13
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
 #else     // Gen7 v1.3 removed the I2C connector & signals so need to get PWM off the PC power supply header
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
 #endif
128
 #endif
129
 
129
 
130
 // All these generations of Gen7 supply thermistor power
130
 // All these generations of Gen7 supply thermistor power
140
 //
140
 //
141
 // M3/M4/M5 - Spindle/Laser Control
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
 #define SPINDLE_DIR_PIN          11
144
 #define SPINDLE_DIR_PIN          11
145
 #if GEN7_VERSION < 13
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
 #else  // Gen7 v1.3 removed the I2C connector & signals so need to get PWM off the PC power supply header
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
 #endif
149
 #endif

+ 1
- 1
Marlin/src/pins/pins_GEN7_13.h Voir le fichier

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

+ 3
- 3
Marlin/src/pins/pins_GEN7_14.h Voir le fichier

57
 
57
 
58
 #define BOARD_NAME "Gen7 v1.4"
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
 // Limit switches
63
 // Limit switches
113
 //
113
 //
114
 // M3/M4/M5 - Spindle/Laser Control
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
 #define SPINDLE_DIR_PIN          21
118
 #define SPINDLE_DIR_PIN          21

+ 2
- 2
Marlin/src/pins/pins_GEN7_CUSTOM.h Voir le fichier

133
 //
133
 //
134
 // M3/M4/M5 - Spindle/Laser Control
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
 #define SPINDLE_DIR_PIN           6
138
 #define SPINDLE_DIR_PIN           6

+ 1
- 1
Marlin/src/pins/pins_GT2560_REV_A.h Voir le fichier

90
 #define SDSS               53
90
 #define SDSS               53
91
 #define LED_PIN            13
91
 #define LED_PIN            13
92
 #define PS_ON_PIN          12
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
 #define KILL_PIN           -1
94
 #define KILL_PIN           -1
95
 
95
 
96
 #if ENABLED(ULTRA_LCD)
96
 #if ENABLED(ULTRA_LCD)

+ 14
- 14
Marlin/src/pins/pins_LEAPFROG.h Voir le fichier

47
 #define X_DIR_PIN          63
47
 #define X_DIR_PIN          63
48
 #define X_ENABLE_PIN       29
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
 #define Y_ENABLE_PIN       39
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
 // Temperature Sensors
67
 // Temperature Sensors
74
 // Heaters / Fans
74
 // Heaters / Fans
75
 //
75
 //
76
 #define HEATER_0_PIN        9
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
 #define FAN_PIN             7
81
 #define FAN_PIN             7
82
 
82
 

+ 5
- 5
Marlin/src/pins/pins_MALYAN_M200.h Voir le fichier

73
 //
73
 //
74
 // Heaters / Fans
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
 // This board has only the controller fan and the extruder fan
79
 // This board has only the controller fan and the extruder fan
80
 // If someone hacks to put a direct power fan on the controller, PB3 could
80
 // If someone hacks to put a direct power fan on the controller, PB3 could
83
 
83
 
84
 // FAN_PIN is commented out here because the M200 example
84
 // FAN_PIN is commented out here because the M200 example
85
 // Configuration_adv.h does NOT override E0_AUTO_FAN_PIN.
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 Voir le fichier

62
 //
62
 //
63
 // Steppers
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
 #define E0_STEP_PIN        23
77
 #define E0_STEP_PIN        23
78
 #define E0_DIR_PIN         24
78
 #define E0_DIR_PIN         24
138
   // Pins for DOGM SPI LCD Support
138
   // Pins for DOGM SPI LCD Support
139
   #define DOGLCD_A0        47
139
   #define DOGLCD_A0        47
140
   #define DOGLCD_CS        45
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
   #define KILL_PIN         12
143
   #define KILL_PIN         12
144
   // GLCD features
144
   // GLCD features
159
 //
159
 //
160
 // M3/M4/M5 - Spindle/Laser Control
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
 #define SPINDLE_DIR_PIN           8
164
 #define SPINDLE_DIR_PIN           8

+ 7
- 7
Marlin/src/pins/pins_MEGATRONICS.h Voir le fichier

53
 #define X_DIR_PIN          28
53
 #define X_DIR_PIN          28
54
 #define X_ENABLE_PIN       24
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
 #define Y_ENABLE_PIN       22
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
 #define E0_STEP_PIN        31
64
 #define E0_STEP_PIN        31
65
 #define E0_DIR_PIN         32
65
 #define E0_DIR_PIN         32
123
 //
123
 //
124
 // M3/M4/M5 - Spindle/Laser Control
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
 #define SPINDLE_DIR_PIN          11
128
 #define SPINDLE_DIR_PIN          11

+ 10
- 10
Marlin/src/pins/pins_MEGATRONICS_2.h Voir le fichier

53
 #define X_DIR_PIN          27
53
 #define X_DIR_PIN          27
54
 #define X_ENABLE_PIN       25
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
 #define Y_ENABLE_PIN        5
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
 #define E0_STEP_PIN        35
64
 #define E0_STEP_PIN        35
65
 #define E0_DIR_PIN         36
65
 #define E0_DIR_PIN         36
69
 #define E1_DIR_PIN         39
69
 #define E1_DIR_PIN         39
70
 #define E1_ENABLE_PIN      28
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
 #define E2_ENABLE_PIN      22
74
 #define E2_ENABLE_PIN      22
75
 
75
 
76
 //
76
 //
138
 //
138
 //
139
 // M3/M4/M5 - Spindle/Laser Control
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 Voir le fichier

37
 //
37
 //
38
 // Servos
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
 // Limit Switches
46
 // Limit Switches
168
 //
168
 //
169
 // M3/M4/M5 - Spindle/Laser Control
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
   #define SPINDLE_DIR_PIN          42
174
   #define SPINDLE_DIR_PIN          42
175
 #elif EXTRUDERS <= 2
175
 #elif EXTRUDERS <= 2
176
   // Hijack the last extruder so that we can get the PWM signal off the Y breakout
176
   // Hijack the last extruder so that we can get the PWM signal off the Y breakout
184
   #define Y_ENABLE_PIN             23
184
   #define Y_ENABLE_PIN             23
185
   #define Y_STEP_PIN               22
185
   #define Y_STEP_PIN               22
186
   #define Y_DIR_PIN                60
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
   #define SPINDLE_DIR_PIN           5
189
   #define SPINDLE_DIR_PIN           5
190
 #endif
190
 #endif

+ 5
- 5
Marlin/src/pins/pins_MELZI_CREALITY.h Voir le fichier

47
 #undef LCD_PINS_D7
47
 #undef LCD_PINS_D7
48
 #undef FIL_RUNOUT_PIN
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
 // Alter timing for graphical display
56
 // Alter timing for graphical display
57
 #ifndef ST7920_DELAY_1
57
 #ifndef ST7920_DELAY_1

+ 6
- 6
Marlin/src/pins/pins_MELZI_MALYAN.h Voir le fichier

35
 #undef BTN_EN2
35
 #undef BTN_EN2
36
 #undef BTN_ENC
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
 // Alter timing for graphical display
45
 // Alter timing for graphical display
46
 #ifndef ST7920_DELAY_1
46
 #ifndef ST7920_DELAY_1

+ 46
- 48
Marlin/src/pins/pins_MIGHTYBOARD_REVE.h Voir le fichier

119
 #define DIGIPOTS_I2C_SDA_Z  65   // K3
119
 #define DIGIPOTS_I2C_SDA_Z  65   // K3
120
 #define DIGIPOTS_I2C_SDA_E0 27   // A5
120
 #define DIGIPOTS_I2C_SDA_E0 27   // A5
121
 #define DIGIPOTS_I2C_SDA_E1 77   // J6
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
 // Temperature Sensors
125
 // Temperature Sensors
134
 //  2 E4 CS2
134
 //  2 E4 CS2
135
 // 78 E2 SCK
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
 // Augmentation for auto-assigning plugs
146
 // Augmentation for auto-assigning plugs
147
 //
147
 //
149
 // 2 extruders or 1 extruder and a heated bed.
149
 // 2 extruders or 1 extruder and a heated bed.
150
 // With no heated bed, an additional 24V fan is possible.
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
 #if HOTENDS > 1
157
 #if HOTENDS > 1
158
   #if TEMP_SENSOR_BED
158
   #if TEMP_SENSOR_BED
200
 //
200
 //
201
 // Misc. Functions
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
 // LCD / Controller
209
 // LCD / Controller
210
 //
210
 //
211
 #ifdef REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
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
   //STOP button connected as KILL_PIN
222
   //STOP button connected as KILL_PIN
223
-  #define KILL_PIN          14   // J1, RIGHT
223
+  #define KILL_PIN         14   // J1, RIGHT
224
   //KILL - not connected
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
   //on board leds
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
 #else
235
 #else
236
   // Replicator uses a 3-wire SR controller with HD44780
236
   // Replicator uses a 3-wire SR controller with HD44780
238
   //
238
   //
239
 
239
 
240
   #define SAV_3DLCD
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
   #define STAT_LED_RED_PIN  32   // C5
254
   #define STAT_LED_RED_PIN  32   // C5
255
   #define STAT_LED_BLUE_PIN 31   // C6 (Actually green)
255
   #define STAT_LED_BLUE_PIN 31   // C6 (Actually green)
259
 //
259
 //
260
 // SD Card
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
 #define MAX_PIN             THERMO_SCK_PIN
265
 #define MAX_PIN             THERMO_SCK_PIN
266
 
266
 
267
 //
267
 //
268
 // M3/M4/M5 - Spindle/Laser Control
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
 // Check if all pins are defined in mega/pins_arduino.h
275
 // Check if all pins are defined in mega/pins_arduino.h

+ 2
- 2
Marlin/src/pins/pins_MINIRAMBO.h Voir le fichier

122
 // M3/M4/M5 - Spindle/Laser Control
122
 // M3/M4/M5 - Spindle/Laser Control
123
 //
123
 //
124
 // use P1 connector for spindle pins
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
 #define SPINDLE_DIR_PIN          19
127
 #define SPINDLE_DIR_PIN          19
128
 
128
 
129
 //
129
 //

+ 15
- 15
Marlin/src/pins/pins_MINITRONICS.h Voir le fichier

57
 #define X_DIR_PIN          47
57
 #define X_DIR_PIN          47
58
 #define X_ENABLE_PIN       49
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
 #define Y_ENABLE_PIN       38
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
 #define E0_STEP_PIN        45
68
 #define E0_STEP_PIN        45
69
 #define E0_DIR_PIN         44
69
 #define E0_DIR_PIN         44
83
 //
83
 //
84
 // Heaters / Fans
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
 #define FAN_PIN             9
90
 #define FAN_PIN             9
91
 
91
 
122
   #define BTN_EN2          -1
122
   #define BTN_EN2          -1
123
   #define BTN_ENC          -1
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
 #endif
126
 #endif
127
 
127
 
128
 //
128
 //
130
 //
130
 //
131
 #if ENABLED(SPINDLE_LASER_ENABLE)  // assumes we're only doing CNC work (no 3D printing)
131
 #if ENABLED(SPINDLE_LASER_ENABLE)  // assumes we're only doing CNC work (no 3D printing)
132
   #undef HEATER_BED_PIN
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
   #define TEMP_BED_PIN       50
137
   #define TEMP_BED_PIN       50
138
   #define TEMP_0_PIN         51
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
   #define SPINDLE_DIR_PIN               53
141
   #define SPINDLE_DIR_PIN               53
142
 #endif
142
 #endif

+ 2
- 2
Marlin/src/pins/pins_MKS_BASE.h Voir le fichier

43
 //
43
 //
44
 // M3/M4/M5 - Spindle/Laser Control
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
 #define SPINDLE_DIR_PIN          19
48
 #define SPINDLE_DIR_PIN          19
49
 
49
 
50
 #include "pins_RAMPS.h"
50
 #include "pins_RAMPS.h"

+ 10
- 10
Marlin/src/pins/pins_MKS_BASE_HEROIC.h Voir le fichier

34
  * the A4982 is doing quarter steps (MS1=L / MS2=H).
34
  * the A4982 is doing quarter steps (MS1=L / MS2=H).
35
  */
35
  */
36
 #define HEROIC_STEPPER_DRIVERS
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 Voir le fichier

44
 //
44
 //
45
 // Servo pin
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
 // Limit Switches
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
 // Steppers
63
 // Steppers
87
 // 3.3V max when defined as an analog input
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
  */
154
  */
155
 
155
 
156
 #if ENABLED(ULTRA_LCD)
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
 #endif // ULTRA_LCD
166
 #endif // ULTRA_LCD
167
 
167
 
168
 //
168
 //
169
 // Ethernet pins
169
 // Ethernet pins
170
 //
170
 //
171
 #ifndef ULTIPANEL
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
 #endif
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
 // Misc. Functions
185
 // Misc. Functions
190
 // A custom cable is needed. See the README file in the
190
 // A custom cable is needed. See the README file in the
191
 // Marlin\src\config\examples\Mks\Sbase directory
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
 #define SS_PIN             P0_28
196
 #define SS_PIN             P0_28
197
 #define SD_DETECT_PIN      P0_27
197
 #define SD_DETECT_PIN      P0_27
198
 #define SDSS               P0_06
198
 #define SDSS               P0_06

+ 9
- 9
Marlin/src/pins/pins_OMCA.h Voir le fichier

108
 #define E0_DIR_PIN         21
108
 #define E0_DIR_PIN         21
109
 #define E0_ENABLE_PIN      10
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
 // Temperature Sensors
120
 // Temperature Sensors
126
 //
126
 //
127
 // Heaters / Fans
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
 #define HEATER_BED_PIN      4
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
 // Misc. Functions
135
 // Misc. Functions
145
 #define __GS  18
145
 #define __GS  18
146
 #define __GD  13
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 Voir le fichier

107
 #define E0_DIR_PIN         27
107
 #define E0_DIR_PIN         27
108
 #define E0_ENABLE_PIN      24
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
 #define E1_ENABLE_PIN      24
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
 #define E2_ENABLE_PIN      24
116
 #define E2_ENABLE_PIN      24
117
 
117
 
118
 //
118
 //

+ 2
- 2
Marlin/src/pins/pins_PRINTRBOARD.h Voir le fichier

148
 
148
 
149
     #define SDSS           43   // F5 TMS   JP2-8
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
   #elif ENABLED(LCD_I2C_PANELOLU2)
154
   #elif ENABLED(LCD_I2C_PANELOLU2)
155
 
155
 

+ 16
- 16
Marlin/src/pins/pins_PRINTRBOARD_REVF.h Voir le fichier

218
 
218
 
219
     #define SDSS            3   // F5 TMS   JP2-8
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
   #elif ENABLED(MINIPANEL)
224
   #elif ENABLED(MINIPANEL)
225
 
225
 
226
     #if DISABLED(USE_INTERNAL_SD)
226
     #if DISABLED(USE_INTERNAL_SD)
227
       //      PIN       FASTIO PIN#  ATUSB90 PIN# Teensy2.0++ PIN#  Printrboard RevF Conn.   MKSLCD12864 PIN#
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
     #endif
230
     #endif
231
 
231
 
232
     //      PIN       FASTIO PIN#  ATUSB90 PIN# Teensy2.0++ PIN#  Printrboard RevF Conn.   MKSLCD12864 PIN#
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
     // increase delays
245
     // increase delays
246
     #ifndef ST7920_DELAY_1
246
     #ifndef ST7920_DELAY_1
268
 //
268
 //
269
 //      PIN       FASTIO PIN#  ATUSB90 PIN# Teensy2.0++ PIN#  Printrboard RevF Conn.
269
 //      PIN       FASTIO PIN#  ATUSB90 PIN# Teensy2.0++ PIN#  Printrboard RevF Conn.
270
 #ifndef SDSS
270
 #ifndef SDSS
271
-  #define SDSS             20  //        10               B0
271
+  #define SDSS             20   //       10               B0
272
 #endif
272
 #endif
273
 
273
 
274
 /**
274
 /**

+ 4
- 4
Marlin/src/pins/pins_RADDS.h Voir le fichier

113
 //#define E3_MS1_PIN         67
113
 //#define E3_MS1_PIN         67
114
 //#define E3_MS2_PIN         68
114
 //#define E3_MS2_PIN         68
115
 //#define E3_MS3_PIN         69
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
 // Temperature Sensors
121
 // Temperature Sensors
140
 #define HEATER_0_PIN       13
140
 #define HEATER_0_PIN       13
141
 #define HEATER_1_PIN       12
141
 #define HEATER_1_PIN       12
142
 #define HEATER_2_PIN       11
142
 #define HEATER_2_PIN       11
143
-#define HEATER_BED_PIN      7 // BED
143
+#define HEATER_BED_PIN      7   // BED
144
 
144
 
145
 #define FAN_PIN             9
145
 #define FAN_PIN             9
146
 #define FAN1_PIN            8
146
 #define FAN1_PIN            8

+ 21
- 21
Marlin/src/pins/pins_RAMBO.h Voir le fichier

49
 //
49
 //
50
 // Servos
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
 // Limit Switches
58
 // Limit Switches
107
 #define E1_MS2_PIN         64
107
 #define E1_MS2_PIN         64
108
 
108
 
109
 #define DIGIPOTSS_PIN      38
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
 #ifndef DIGIPOT_MOTOR_CURRENT
111
 #ifndef DIGIPOT_MOTOR_CURRENT
112
   #define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
112
   #define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 }   // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
113
 #endif
113
 #endif
146
 //
146
 //
147
 // M3/M4/M5 - Spindle/Laser Control
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
 #define SPINDLE_DIR_PIN          32
151
 #define SPINDLE_DIR_PIN          32
152
 
152
 
153
 //
153
 //
155
 //
155
 //
156
 #define E_MUX0_PIN         17
156
 #define E_MUX0_PIN         17
157
 #define E_MUX1_PIN         16
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
 // LCD / Controller
161
 // LCD / Controller
162
 //
162
 //
163
 #if ENABLED(ULTRA_LCD)
163
 #if ENABLED(ULTRA_LCD)
164
 
164
 
165
-  #define KILL_PIN 80
165
+  #define KILL_PIN         80
166
 
166
 
167
   #if ENABLED(NEWPANEL)
167
   #if ENABLED(NEWPANEL)
168
 
168
 
174
     #define LCD_PINS_D7     75
174
     #define LCD_PINS_D7     75
175
 
175
 
176
     #if ENABLED(VIKI2) || ENABLED(miniVIKI)
176
     #if ENABLED(VIKI2) || ENABLED(miniVIKI)
177
-      #define BEEPER_PIN 44
177
+      #define BEEPER_PIN   44
178
       // NB: Panucatt's Viki 2.0 wiring diagram (v1.2) indicates that the
178
       // NB: Panucatt's Viki 2.0 wiring diagram (v1.2) indicates that the
179
       //     beeper/buzzer is connected to pin 33; however, the pin used in the
179
       //     beeper/buzzer is connected to pin 33; however, the pin used in the
180
       //     diagram is actually pin 44, so this is correct.
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
       #define LCD_SCREEN_ROT_180
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
       #define STAT_LED_RED_PIN 22
192
       #define STAT_LED_RED_PIN 22
193
       #define STAT_LED_BLUE_PIN 32
193
       #define STAT_LED_BLUE_PIN 32
194
 
194
 
195
     #else // !VIKI2 && !miniVIKI
195
     #else // !VIKI2 && !miniVIKI
196
 
196
 
197
-      #define BEEPER_PIN 79 // AUX-4
197
+      #define BEEPER_PIN   79   // AUX-4
198
 
198
 
199
       // AUX-2
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
       #define SD_DETECT_PIN 81
204
       #define SD_DETECT_PIN 81
205
 
205
 
208
   #else // !NEWPANEL - old style panel with shift register
208
   #else // !NEWPANEL - old style panel with shift register
209
 
209
 
210
     // No Beeper added
210
     // No Beeper added
211
-    #define BEEPER_PIN 33
211
+    #define BEEPER_PIN     33
212
 
212
 
213
     // buttons are attached to a shift register
213
     // buttons are attached to a shift register
214
     // Not wired yet
214
     // Not wired yet

+ 25
- 37
Marlin/src/pins/pins_RAMPS.h Voir le fichier

44
  *         7 | 11
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
 #endif
49
 #endif
58
 
50
 
59
 #ifndef BOARD_NAME
51
 #ifndef BOARD_NAME
64
 // Servos
56
 // Servos
65
 //
57
 //
66
 #ifdef IS_RAMPS_13
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
 #else
60
 #else
69
   #define SERVO0_PIN       11
61
   #define SERVO0_PIN       11
70
 #endif
62
 #endif
205
 
197
 
206
 // SPI for Max6675 or Max31855 Thermocouple
198
 // SPI for Max6675 or Max31855 Thermocouple
207
 #if DISABLED(SDSUPPORT)
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
 #else
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
 #endif
203
 #endif
212
 
204
 
213
 //
205
 //
294
 
286
 
295
 #if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENABLE_PIN)
287
 #if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENABLE_PIN)
296
   #if NUM_SERVOS <= 1 // try to use servo connector first
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
   #elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \
290
   #elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \
299
       && (ENABLED(PANEL_ONE) || ENABLED(VIKI2) || ENABLED(miniVIKI) || ENABLED(MINIPANEL) || ENABLED(REPRAPWORLD_KEYPAD)))  // try to use AUX 2
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
   #endif
293
   #endif
302
 #endif
294
 #endif
303
 
295
 
306
 //
298
 //
307
 #if ENABLED(SPINDLE_LASER_ENABLE) && !PIN_EXISTS(SPINDLE_LASER_ENABLE)
299
 #if ENABLED(SPINDLE_LASER_ENABLE) && !PIN_EXISTS(SPINDLE_LASER_ENABLE)
308
   #if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // try to use servo connector first
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
     #define SPINDLE_DIR_PIN           5
303
     #define SPINDLE_DIR_PIN           5
312
   #elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \
304
   #elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \
313
       && (ENABLED(PANEL_ONE) || ENABLED(VIKI2) || ENABLED(miniVIKI) || ENABLED(MINIPANEL) || ENABLED(REPRAPWORLD_KEYPAD)))  // try to use AUX 2
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
     #define SPINDLE_DIR_PIN          65
308
     #define SPINDLE_DIR_PIN          65
317
   #endif
309
   #endif
318
 #endif
310
 #endif
341
   //
333
   //
342
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
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
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
340
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
349
 
341
 
378
     #else
370
     #else
379
 
371
 
380
       #if ENABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
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
         // DOGM SPI LCD Support
375
         // DOGM SPI LCD Support
384
         #define DOGLCD_CS       16
376
         #define DOGLCD_CS       16
385
         #define DOGLCD_MOSI     17
377
         #define DOGLCD_MOSI     17
454
 
446
 
455
     #elif ENABLED(LCD_I2C_VIKI)
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
       #define BTN_ENC           -1
451
       #define BTN_ENC           -1
460
 
452
 
461
       #define LCD_SDSS          53
453
       #define LCD_SDSS          53
476
       #define BTN_ENC           39
468
       #define BTN_ENC           39
477
 
469
 
478
       #define SDSS              53
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
       #define KILL_PIN          31
472
       #define KILL_PIN          31
481
 
473
 
482
     #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
474
     #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
495
       #define SD_DETECT_PIN     49
487
       #define SD_DETECT_PIN     49
496
       #define KILL_PIN          41
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
       #define DOGLCD_A0         27
492
       #define DOGLCD_A0         27
501
       #define DOGLCD_CS         25
493
       #define DOGLCD_CS         25
509
 
501
 
510
       #define BEEPER_PIN        37
502
       #define BEEPER_PIN        37
511
       // not connected to a pin
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
       #define BTN_EN1           31
506
       #define BTN_EN1           31
515
       #define BTN_EN2           33
507
       #define BTN_EN2           33
523
 
515
 
524
       #define BEEPER_PIN        42
516
       #define BEEPER_PIN        42
525
       // not connected to a pin
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
       #define DOGLCD_A0         44
520
       #define DOGLCD_A0         44
529
       #define DOGLCD_CS         66
521
       #define DOGLCD_CS         66
547
 
539
 
548
       #define ADC_KEYPAD_PIN    12
540
       #define ADC_KEYPAD_PIN    12
549
 
541
 
550
-    #elif ENABLED(AZSMZ_12864)
551
-
552
-      // Pins only defined for RAMPS_SMART currently
553
-
554
     #else
542
     #else
555
 
543
 
556
       // Beeper on AUX-4
544
       // Beeper on AUX-4
565
         #define BTN_EN2         59
553
         #define BTN_EN2         59
566
         #define BTN_ENC         63
554
         #define BTN_ENC         63
567
       #elif ENABLED(PANEL_ONE)
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
       #else
559
       #else
572
         #define BTN_EN1         37
560
         #define BTN_EN1         37
573
         #define BTN_EN2         35
561
         #define BTN_EN2         35

+ 6
- 6
Marlin/src/pins/pins_RAMPS_DUO.h Voir le fichier

68
 // SPI for Max6675 or Max31855 Thermocouple
68
 // SPI for Max6675 or Max31855 Thermocouple
69
 #undef MAX6675_SS
69
 #undef MAX6675_SS
70
 #if DISABLED(SDSUPPORT)
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
 #else
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
 #endif
74
 #endif
75
 
75
 
76
 //
76
 //
105
       #define DOGLCD_CS    69
105
       #define DOGLCD_CS    69
106
 
106
 
107
       #undef LCD_BACKLIGHT_PIN
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
       #undef KILL_PIN
110
       #undef KILL_PIN
111
       #define KILL_PIN     67
111
       #define KILL_PIN     67
117
 
117
 
118
       #if ENABLED(REPRAPWORLD_KEYPAD)
118
       #if ENABLED(REPRAPWORLD_KEYPAD)
119
         #undef BTN_EN1
119
         #undef BTN_EN1
120
-        #define BTN_EN1    67 // encoder
120
+        #define BTN_EN1    67   // encoder
121
 
121
 
122
         #undef BTN_ENC
122
         #undef BTN_ENC
123
-        #define BTN_ENC    66 // enter button
123
+        #define BTN_ENC    66   // enter button
124
       #elif ENABLED(PANEL_ONE)
124
       #elif ENABLED(PANEL_ONE)
125
         #undef BTN_EN2
125
         #undef BTN_EN2
126
-        #define BTN_EN2    66 // AUX2 PIN 4
126
+        #define BTN_EN2    66   // AUX2 PIN 4
127
       #endif
127
       #endif
128
     #endif
128
     #endif
129
 
129
 

+ 16
- 16
Marlin/src/pins/pins_RAMPS_FD_V1.h Voir le fichier

142
 #if ENABLED(ULTRA_LCD)
142
 #if ENABLED(ULTRA_LCD)
143
   // ramps-fd lcd adaptor
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
   #if ENABLED(NEWPANEL)
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
   #endif
158
   #endif
159
 
159
 
160
   #if ENABLED(MINIPANEL)
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
   #endif
163
   #endif
164
 #endif // ULTRA_LCD
164
 #endif // ULTRA_LCD
165
 
165
 
188
 //
188
 //
189
 #if ENABLED(SPINDLE_LASER_ENABLE) && !PIN_EXISTS(SPINDLE_LASER_ENABLE)
189
 #if ENABLED(SPINDLE_LASER_ENABLE) && !PIN_EXISTS(SPINDLE_LASER_ENABLE)
190
   #if HOTENDS < 3
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
   #endif
194
   #endif
195
 #endif
195
 #endif

+ 5
- 5
Marlin/src/pins/pins_RAMPS_OLD.h Voir le fichier

77
 
77
 
78
 // SPI for Max6675 or Max31855 Thermocouple
78
 // SPI for Max6675 or Max31855 Thermocouple
79
 #if DISABLED(SDSUPPORT)
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
 #else
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
 #endif
83
 #endif
84
 
84
 
85
 //
85
 //
101
 #define SDPOWER            48
101
 #define SDPOWER            48
102
 #define SDSS               53
102
 #define SDSS               53
103
 #define LED_PIN            13
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
 // M3/M4/M5 - Spindle/Laser Control
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
 #define SPINDLE_DIR_PIN          43
111
 #define SPINDLE_DIR_PIN          43

+ 106
- 107
Marlin/src/pins/pins_RAMPS_RE_ARM.h Voir le fichier

47
 //
47
 //
48
 // Servos
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
 // Limit Switches
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
 // Steppers
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
 #ifndef X_CS_PIN
71
 #ifndef X_CS_PIN
72
-  #define X_CS_PIN         P1_01  // ETH
72
+  #define X_CS_PIN         P1_01   // ETH
73
 #endif
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
 #ifndef Y_CS_PIN
78
 #ifndef Y_CS_PIN
79
-  #define Y_CS_PIN         P1_04  // ETH
79
+  #define Y_CS_PIN         P1_04   // ETH
80
 #endif
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
 #ifndef Z_CS_PIN
85
 #ifndef Z_CS_PIN
86
-  #define Z_CS_PIN         P1_10  // ETH
86
+  #define Z_CS_PIN         P1_10   // ETH
87
 #endif
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
 #ifndef E0_CS_PIN
92
 #ifndef E0_CS_PIN
93
-  #define E0_CS_PIN        P1_14  // ETH
93
+  #define E0_CS_PIN        P1_14   // ETH
94
 #endif
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
 #ifndef E1_CS_PIN
99
 #ifndef E1_CS_PIN
100
   #define E1_CS_PIN        -1
100
   #define E1_CS_PIN        -1
101
 #endif
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
 //#ifndef E2_CS_PIN
106
 //#ifndef E2_CS_PIN
107
 //  #define E2_CS_PIN        -1
107
 //  #define E2_CS_PIN        -1
108
 //#endif
108
 //#endif
111
 // Software SPI pins for TMC2130 stepper drivers
111
 // Software SPI pins for TMC2130 stepper drivers
112
 //
112
 //
113
 #if ENABLED(TMC_USE_SW_SPI)
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
 #endif
117
 #endif
118
 
118
 
119
 //
119
 //
120
 // Temperature Sensors
120
 // Temperature Sensors
121
 //  3.3V max when defined as an analog input
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
 // Augmentation for auto-assigning RAMPS plugs
133
 // Augmentation for auto-assigning RAMPS plugs
154
   #define MOSFET_D_PIN   -1
153
   #define MOSFET_D_PIN   -1
155
 #endif
154
 #endif
156
 #ifndef RAMPS_D8_PIN
155
 #ifndef RAMPS_D8_PIN
157
-  #define RAMPS_D8_PIN   P2_07 // (8)
156
+  #define RAMPS_D8_PIN   P2_07   // (8)
158
 #endif
157
 #endif
159
 #ifndef RAMPS_D9_PIN
158
 #ifndef RAMPS_D9_PIN
160
-  #define RAMPS_D9_PIN   P2_04 // (9)
159
+  #define RAMPS_D9_PIN   P2_04   // (9)
161
 #endif
160
 #endif
162
 #ifndef RAMPS_D10_PIN
161
 #ifndef RAMPS_D10_PIN
163
-  #define RAMPS_D10_PIN  P2_05 // (10)
162
+  #define RAMPS_D10_PIN  P2_05   // (10)
164
 #endif
163
 #endif
165
 
164
 
166
 #define HEATER_0_PIN     RAMPS_D10_PIN
165
 #define HEATER_0_PIN     RAMPS_D10_PIN
190
 #endif
189
 #endif
191
 
190
 
192
 #ifndef FAN_PIN
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
 #endif
193
 #endif
195
 
194
 
196
 //
195
 //
197
 // Misc. Functions
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
 // define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
201
 // define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
203
 #ifndef FIL_RUNOUT_PIN
202
 #ifndef FIL_RUNOUT_PIN
204
-  #define FIL_RUNOUT_PIN  P1_18  // (4)
203
+  #define FIL_RUNOUT_PIN  P1_18   // (4)
205
 #endif
204
 #endif
206
 
205
 
207
-#define PS_ON_PIN         P2_12  // (12)
206
+#define PS_ON_PIN         P2_12   // (12)
208
 
207
 
209
 #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN)
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
   #endif
211
   #endif
213
 #endif
212
 #endif
214
 
213
 
256
 
255
 
257
 #if ENABLED(ULTRA_LCD)
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
   #ifdef ULTIPANEL
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
   #endif
279
   #endif
281
 
280
 
282
   #if ENABLED(NEWPANEL)
281
   #if ENABLED(NEWPANEL)
283
     #if ENABLED(REPRAPWORLD_KEYPAD)
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
     #endif
286
     #endif
288
   #else
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
   #endif
292
   #endif
294
 
293
 
295
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
294
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
296
     // #define LCD_SCREEN_ROT_180
295
     // #define LCD_SCREEN_ROT_180
297
 
296
 
298
     #undef  BEEPER_PIN
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
     #undef  DOGLCD_CS
307
     #undef  DOGLCD_CS
309
     #define DOGLCD_CS           P0_16   // (16)
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
     #define DOGLCD_SCK          SCK_PIN
317
     #define DOGLCD_SCK          SCK_PIN
319
     #define DOGLCD_MOSI         MOSI_PIN
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
   #endif
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
   #if ENABLED(MINIPANEL)
329
   #if ENABLED(MINIPANEL)
331
     // GLCD features
330
     // GLCD features
342
 // Ethernet pins
341
 // Ethernet pins
343
 //
342
 //
344
 #ifndef ULTIPANEL
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
 #endif
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
  *  Fast PWMS
357
  *  Fast PWMS

+ 5
- 5
Marlin/src/pins/pins_RAMPS_SMART.h Voir le fichier

79
 // SPI for Max6675 or Max31855 Thermocouple
79
 // SPI for Max6675 or Max31855 Thermocouple
80
 #if DISABLED(SDSUPPORT)
80
 #if DISABLED(SDSUPPORT)
81
   #undef MAX6675_SS
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
 #else
83
 #else
84
   #undef MAX6675_SS
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
 #endif
86
 #endif
87
 
87
 
88
 //
88
 //
90
 //
90
 //
91
 // Support for AZSMZ 12864 LCD with SD Card 3D printer smart controller control panel
91
 // Support for AZSMZ 12864 LCD with SD Card 3D printer smart controller control panel
92
 #if ENABLED(AZSMZ_12864)
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
   #define DOGLCD_A0        59
94
   #define DOGLCD_A0        59
95
   #define DOGLCD_CS        44
95
   #define DOGLCD_CS        44
96
   #define BTN_EN1          58
96
   #define BTN_EN1          58
97
   #define BTN_EN2          40
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
   #define KILL_PIN         42
100
   #define KILL_PIN         42
101
 #endif
101
 #endif

+ 5
- 5
Marlin/src/pins/pins_RIGIDBOARD.h Voir le fichier

36
 //
36
 //
37
 // MOSFET changes
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
 #include "pins_RAMPS.h"
42
 #include "pins_RAMPS.h"
43
 
43
 
74
 // SPI for Max6675 or Max31855 Thermocouple
74
 // SPI for Max6675 or Max31855 Thermocouple
75
 #undef MAX6675_SS
75
 #undef MAX6675_SS
76
 #if DISABLED(SDSUPPORT)
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
 #else
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
 #endif
80
 #endif
81
 
81
 
82
 //
82
 //
86
 #define HEATER_BED_PIN     10
86
 #define HEATER_BED_PIN     10
87
 
87
 
88
 #undef FAN_PIN
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
 // Misc. Functions
92
 // Misc. Functions

+ 5
- 5
Marlin/src/pins/pins_RIGIDBOARD_V2.h Voir le fichier

39
 // Channels available for DAC, For Rigidboard there are 4
39
 // Channels available for DAC, For Rigidboard there are 4
40
 #define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
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
 #define DAC_STEPPER_ADDRESS  0
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
 #define DAC_OR_ADDRESS    0x01
48
 #define DAC_OR_ADDRESS    0x01
49
 
49
 
50
 #ifndef DAC_MOTOR_CURRENT_DEFAULT
50
 #ifndef DAC_MOTOR_CURRENT_DEFAULT

+ 2
- 2
Marlin/src/pins/pins_RUMBA.h Voir le fichier

154
 // M3/M4/M5 - Spindle/Laser Control
154
 // M3/M4/M5 - Spindle/Laser Control
155
 //
155
 //
156
 #ifndef SPINDLE_LASER_PWM_PIN
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
 #endif
158
 #endif
159
 #ifndef SPINDLE_LASER_ENABLE_PIN
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
 #endif
161
 #endif
162
 #ifndef SPINDLE_DIR_PIN
162
 #ifndef SPINDLE_DIR_PIN
163
   #define SPINDLE_DIR_PIN          15
163
   #define SPINDLE_DIR_PIN          15

+ 18
- 18
Marlin/src/pins/pins_RURAMPS4D.h Voir le fichier

60
 //
60
 //
61
 // Steppers
61
 // Steppers
62
 //
62
 //
63
-#define X_STEP_PIN         37 // Support Extension Board
63
+#define X_STEP_PIN         37   // Support Extension Board
64
 #define X_DIR_PIN          36
64
 #define X_DIR_PIN          36
65
 #define X_ENABLE_PIN       38
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
 #define Y_DIR_PIN          35
68
 #define Y_DIR_PIN          35
69
 #define Y_ENABLE_PIN       34
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
 #define Z_DIR_PIN           2
72
 #define Z_DIR_PIN           2
73
 #define Z_ENABLE_PIN       33
73
 #define Z_ENABLE_PIN       33
74
 
74
 
84
 #define E2_DIR_PIN         23
84
 #define E2_DIR_PIN         23
85
 #define E2_ENABLE_PIN      27
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
 #define E3_DIR_PIN         14
88
 #define E3_DIR_PIN         14
89
 #define E3_ENABLE_PIN      61
89
 #define E3_ENABLE_PIN      61
90
 
90
 
100
 //#define E3_MS1_PIN         ?
100
 //#define E3_MS1_PIN         ?
101
 //#define E3_MS2_PIN         ?
101
 //#define E3_MS2_PIN         ?
102
 //#define E3_MS3_PIN         ?
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
 #if DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
107
 #if DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
108
   #define Z_PROBE_PIN      49
108
   #define Z_PROBE_PIN      49
120
 #define HEATER_0_PIN       13
120
 #define HEATER_0_PIN       13
121
 #define HEATER_1_PIN       12
121
 #define HEATER_1_PIN       12
122
 #define HEATER_2_PIN       11
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
 #define FAN_PIN             9
125
 #define FAN_PIN             9
126
 #define FAN1_PIN            8
126
 #define FAN1_PIN            8
129
 //
129
 //
130
 // Temperature Sensors
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
 //Thermocouple Use Analog Pins
137
 //Thermocouple Use Analog Pins
138
 #if ENABLED(VER_WITH_THERMOCOUPLE) // If Nead, define is in Configuration.h
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
 #endif
141
 #endif
142
 
142
 
143
 // SPI for Max6675 or Max31855 Thermocouple
143
 // SPI for Max6675 or Max31855 Thermocouple
158
 //
158
 //
159
 // Misc. Functions
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
 // MKS TFT / Nextion Use internal USART-1
165
 // MKS TFT / Nextion Use internal USART-1
166
 #define TFT_LCD_MODULE_COM        1
166
 #define TFT_LCD_MODULE_COM        1

+ 5
- 5
Marlin/src/pins/pins_SAINSMART_2IN1.h Voir le fichier

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
 #if HOTENDS > 2 || E_STEPPERS > 2
27
 #if HOTENDS > 2 || E_STEPPERS > 2
33
 //
33
 //
34
 // Heaters / Fans
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
 #include "pins_RAMPS.h"
41
 #include "pins_RAMPS.h"

+ 18
- 18
Marlin/src/pins/pins_SANGUINOLOLU_11.h Voir le fichier

90
 //
90
 //
91
 // Heaters / Fans
91
 // Heaters / Fans
92
 //
92
 //
93
-#define HEATER_0_PIN       13 // (extruder)
93
+#define HEATER_0_PIN       13   // (extruder)
94
 
94
 
95
 #if ENABLED(SANGUINOLOLU_V_1_2)
95
 #if ENABLED(SANGUINOLOLU_V_1_2)
96
 
96
 
97
-  #define HEATER_BED_PIN   12 // (bed)
97
+  #define HEATER_BED_PIN   12   // (bed)
98
   #define X_ENABLE_PIN     14
98
   #define X_ENABLE_PIN     14
99
   #define Y_ENABLE_PIN     14
99
   #define Y_ENABLE_PIN     14
100
   #define Z_ENABLE_PIN     26
100
   #define Z_ENABLE_PIN     26
101
   #define E0_ENABLE_PIN    14
101
   #define E0_ENABLE_PIN    14
102
 
102
 
103
   #if ENABLED(LCD_I2C_PANELOLU2)
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
   #endif
105
   #endif
106
 
106
 
107
 #else
107
 #else
108
 
108
 
109
-  #define HEATER_BED_PIN   14 // (bed)
109
+  #define HEATER_BED_PIN   14   // (bed)
110
   #define X_ENABLE_PIN     -1
110
   #define X_ENABLE_PIN     -1
111
   #define Y_ENABLE_PIN     -1
111
   #define Y_ENABLE_PIN     -1
112
   #define Z_ENABLE_PIN     -1
112
   #define Z_ENABLE_PIN     -1
115
 #endif
115
 #endif
116
 
116
 
117
 #if MB(AZTEEG_X1) || MB(STB_11) || MB(CREALITY_ENDER) || ENABLED(IS_MELZI)
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
 #endif
119
 #endif
120
 
120
 
121
 //
121
 //
134
 #if ENABLED(IS_MELZI)
134
 #if ENABLED(IS_MELZI)
135
   #define LED_PIN          27
135
   #define LED_PIN          27
136
 #elif MB(STB_11)
136
 #elif MB(STB_11)
137
-  #define LCD_BACKLIGHT_PIN 17 // LCD backlight LED
137
+  #define LCD_BACKLIGHT_PIN 17   // LCD backlight LED
138
 #endif
138
 #endif
139
 
139
 
140
 #if DISABLED(SPINDLE_LASER_ENABLE) && ENABLED(SANGUINOLOLU_V_1_2) && !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL))  // try to use IO Header
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
 #endif
142
 #endif
143
 
143
 
144
 /**
144
 /**
160
     #if ENABLED(U8GLIB_ST7920) // SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
160
     #if ENABLED(U8GLIB_ST7920) // SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
161
 
161
 
162
       #if ENABLED(IS_MELZI)
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
         // Pin 27 is taken by LED_PIN, but Melzi LED does nothing with
166
         // Pin 27 is taken by LED_PIN, but Melzi LED does nothing with
167
         // Marlin so this can be used for BEEPER_PIN. You can use this pin
167
         // Marlin so this can be used for BEEPER_PIN. You can use this pin
168
         // with M42 instead of BEEPER_PIN.
168
         // with M42 instead of BEEPER_PIN.
185
 
185
 
186
         #define BEEPER_PIN      29
186
         #define BEEPER_PIN      29
187
         #define DOGLCD_CS       17
187
         #define DOGLCD_CS       17
188
-        #define LCD_BACKLIGHT_PIN 28 // PA3
188
+        #define LCD_BACKLIGHT_PIN 28   // PA3
189
 
189
 
190
       #elif MB(CREALITY_ENDER)
190
       #elif MB(CREALITY_ENDER)
191
 
191
 
224
 
224
 
225
     #if ENABLED(IS_MELZI)
225
     #if ENABLED(IS_MELZI)
226
       #define BTN_ENC           29
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
     #else
228
     #else
229
       #define BTN_ENC           30
229
       #define BTN_ENC           30
230
     #endif
230
     #endif
265
   #else  // !LCD_I2C_PANELOLU2 && !LCD_FOR_MELZI && !ZONESTAR_LCD
265
   #else  // !LCD_I2C_PANELOLU2 && !LCD_FOR_MELZI && !ZONESTAR_LCD
266
 
266
 
267
     #define BTN_ENC             16
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
   #endif
270
   #endif
271
 
271
 
279
 #if ENABLED(SPINDLE_LASER_ENABLE)
279
 #if ENABLED(SPINDLE_LASER_ENABLE)
280
   #if !MB(AZTEEG_X1) && ENABLED(SANGUINOLOLU_V_1_2) && !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL))  // try to use IO Header
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
     #define SPINDLE_DIR_PIN          11
284
     #define SPINDLE_DIR_PIN          11
285
 
285
 
286
   #elif !MB(MELZI)  // use X stepper motor socket
286
   #elif !MB(MELZI)  // use X stepper motor socket
318
     #define X_DIR_PIN                 0
318
     #define X_DIR_PIN                 0
319
     #define X_ENABLE_PIN             14
319
     #define X_ENABLE_PIN             14
320
     #define X_STEP_PIN                1
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
   #endif
324
   #endif
325
 #endif // SPINDLE_LASER_ENABLE
325
 #endif // SPINDLE_LASER_ENABLE

+ 4
- 4
Marlin/src/pins/pins_SAV_MKI.h Voir le fichier

173
   //
173
   //
174
   // M3/M4/M5 - Spindle/Laser Control
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
 #endif
182
 #endif

+ 5
- 5
Marlin/src/pins/pins_SCOOVO_X9H.h Voir le fichier

33
 //
33
 //
34
 // Servos
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
 // Limit Switches
42
 // Limit Switches
91
 #define E1_MS2_PIN          64
91
 #define E1_MS2_PIN          64
92
 
92
 
93
 #define DIGIPOTSS_PIN       38
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
 // Temperature Sensors
97
 // Temperature Sensors

+ 3
- 3
Marlin/src/pins/pins_SELENA_COMPACT.h Voir le fichier

73
 // Temperature Sensors
73
 // Temperature Sensors
74
 // 3.3V max when defined as an analog input
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 Voir le fichier

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

+ 1
- 1
Marlin/src/pins/pins_SILVER_GATE.h Voir le fichier

60
 
60
 
61
 #define HEATER_0_PIN        7
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
 #define CONTROLLER_FAN_PIN  2
64
 #define CONTROLLER_FAN_PIN  2
65
 
65
 
66
 #define TEMP_0_PIN          7   // Analog Input
66
 #define TEMP_0_PIN          7   // Analog Input

+ 12
- 13
Marlin/src/pins/pins_STM32F1R.h Voir le fichier

100
 #define HEATER_BED2_PIN    -1    // BED2
100
 #define HEATER_BED2_PIN    -1    // BED2
101
 #define HEATER_BED3_PIN    -1    // BED3
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
 // Temperature Sensors
106
 // Temperature Sensors
116
 #if ENABLED(ULTRA_LCD)
116
 #if ENABLED(ULTRA_LCD)
117
 
117
 
118
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
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
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
122
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
123
     #define LCD_PINS_RS         PB8
123
     #define LCD_PINS_RS         PB8
124
     #define LCD_PINS_ENABLE     PD2
124
     #define LCD_PINS_ENABLE     PD2
179
 
179
 
180
     #elif ENABLED(LCD_I2C_VIKI)
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
       #define BTN_ENC           -1
185
       #define BTN_ENC           -1
186
       #define LCD_SDSS          53
186
       #define LCD_SDSS          53
200
       #define BTN_ENC           39
200
       #define BTN_ENC           39
201
 
201
 
202
       #define SDSS              53
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
       #define KILL_PIN          31
205
       #define KILL_PIN          31
206
 
206
 
225
       // Pins for DOGM SPI LCD Support
225
       // Pins for DOGM SPI LCD Support
226
       #define DOGLCD_A0         44
226
       #define DOGLCD_A0         44
227
       #define DOGLCD_CS         66
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
       #define SDSS              53
229
       #define SDSS              53
230
 
230
 
231
       #define KILL_PIN          64
231
       #define KILL_PIN          64
256
         #define SHIFT_CLK       44
256
         #define SHIFT_CLK       44
257
         #define SHIFT_LD        42
257
         #define SHIFT_LD        42
258
       #elif ENABLED(PANEL_ONE)
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
       #else
262
       #else
263
         #define BTN_EN1         37
263
         #define BTN_EN1         37
264
         #define BTN_EN2         35
264
         #define BTN_EN2         35
269
         #define SD_DETECT_PIN   49
269
         #define SD_DETECT_PIN   49
270
         #define KILL_PIN        41
270
         #define KILL_PIN        41
271
       #else
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
       #endif
273
       #endif
274
 
274
 
275
     #endif
275
     #endif
280
 #define U_MIN_PIN          -1
280
 #define U_MIN_PIN          -1
281
 #define V_MIN_PIN          -1
281
 #define V_MIN_PIN          -1
282
 #define W_MIN_PIN          -1
282
 #define W_MIN_PIN          -1
283
-

+ 15
- 16
Marlin/src/pins/pins_STM3R_MINI.h Voir le fichier

21
  */
21
  */
22
 
22
 
23
 #if !defined(__STM32F1__) && !defined(__STM32F4__)
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
 #endif
25
 #endif
26
 
26
 
27
 /**
27
 /**
91
 //
91
 //
92
 // Heaters / Fans
92
 // Heaters / Fans
93
 //
93
 //
94
-#define HEATER_0_PIN       PD12  // EXTRUDER 1
94
+#define HEATER_0_PIN       PD12   // EXTRUDER 1
95
 //#define HEATER_1_PIN       PD13
95
 //#define HEATER_1_PIN       PD13
96
 //#define HEATER_2_PIN       -1
96
 //#define HEATER_2_PIN       -1
97
 
97
 
98
 #define HEATER_BED_PIN     PB9   // BED
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
 #define FAN_PIN            PD14
102
 #define FAN_PIN            PD14
103
 #define FAN1_PIN           PD13
103
 #define FAN1_PIN           PD13
124
 #if ENABLED(ULTRA_LCD)
124
 #if ENABLED(ULTRA_LCD)
125
 
125
 
126
   #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
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
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
130
   #elif ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
131
     #define LCD_PINS_RS         PB8
131
     #define LCD_PINS_RS         PB8
132
     #define LCD_PINS_ENABLE     PD2
132
     #define LCD_PINS_ENABLE     PD2
187
 
187
 
188
     #elif ENABLED(LCD_I2C_VIKI)
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
       #define BTN_ENC           -1
193
       #define BTN_ENC           -1
194
       #define LCD_SDSS          53
194
       #define LCD_SDSS          53
208
       #define BTN_ENC           39
208
       #define BTN_ENC           39
209
 
209
 
210
       #define SDSS              53
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
       #define KILL_PIN          31
213
       #define KILL_PIN          31
214
 
214
 
234
       // Pins for DOGM SPI LCD Support
234
       // Pins for DOGM SPI LCD Support
235
       #define DOGLCD_A0         44
235
       #define DOGLCD_A0         44
236
       #define DOGLCD_CS         66
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
       #define SDSS              53
238
       #define SDSS              53
239
 
239
 
240
       #define KILL_PIN          64
240
       #define KILL_PIN          64
265
         #define SHIFT_CLK       44
265
         #define SHIFT_CLK       44
266
         #define SHIFT_LD        42
266
         #define SHIFT_LD        42
267
       #elif ENABLED(PANEL_ONE)
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
       #else
271
       #else
272
         #define BTN_EN1         37
272
         #define BTN_EN1         37
273
         #define BTN_EN2         35
273
         #define BTN_EN2         35
278
         #define SD_DETECT_PIN   49
278
         #define SD_DETECT_PIN   49
279
         #define KILL_PIN        41
279
         #define KILL_PIN        41
280
       #else
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
       #endif
282
       #endif
283
 
283
 
284
     #endif
284
     #endif
289
 #define U_MIN_PIN          -1
289
 #define U_MIN_PIN          -1
290
 #define V_MIN_PIN          -1
290
 #define V_MIN_PIN          -1
291
 #define W_MIN_PIN          -1
291
 #define W_MIN_PIN          -1
292
-

+ 3
- 3
Marlin/src/pins/pins_TEENSY2.h Voir le fichier

177
 //
177
 //
178
 // M3/M4/M5 - Spindle/Laser Control
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 Voir le fichier

108
 #define Y_STOP_PIN         26
108
 #define Y_STOP_PIN         26
109
 #define Z_STOP_PIN         28
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
 #define TEMP_1_PIN          0
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
 #define LED_PIN            13
116
 #define LED_PIN            13
117
 #define PS_ON_PIN           1
117
 #define PS_ON_PIN           1
118
 #define ALARM_PIN          -1
118
 #define ALARM_PIN          -1

+ 60
- 60
Marlin/src/pins/pins_THE_BORG.h Voir le fichier

21
  */
21
  */
22
 
22
 
23
 #if !defined(STM32F7)
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
 #endif
25
 #endif
26
 
26
 
27
 #define DEFAULT_MACHINE_NAME "The-Borge"
27
 #define DEFAULT_MACHINE_NAME "The-Borge"
29
 
29
 
30
 #define LARGE_FLASH true
30
 #define LARGE_FLASH true
31
 
31
 
32
-#define E2END 0xFFF // EEPROM end address
32
+#define E2END 0xFFF   // EEPROM end address
33
 
33
 
34
 // Ignore temp readings during develpment.
34
 // Ignore temp readings during develpment.
35
 #define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
35
 #define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
51
 //
51
 //
52
 // Limit Switches
52
 // Limit Switches
53
 //
53
 //
54
-#define X_MIN_PIN          _STM32_PIN(PORTE, 9)
54
+#define X_MIN_PIN          _STM32_PIN(PORTE,  9)
55
 #define X_MAX_PIN          _STM32_PIN(PORTE, 10)
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
 #define Z_MIN_PIN          _STM32_PIN(PORTF, 15)
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
 // Z Probe (when not Z_MIN_PIN)
64
 // Z Probe (when not Z_MIN_PIN)
65
 //
65
 //
66
 #ifndef Z_MIN_PROBE_PIN
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
 #endif
68
 #endif
69
 
69
 
70
 //
70
 //
71
 // Steppers
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
 #define Y_DIR_PIN          _STM32_PIN(PORTD, 10)
81
 #define Y_DIR_PIN          _STM32_PIN(PORTD, 10)
82
 #define Y_ENABLE_PIN       _STM32_PIN(PORTD, 11)
82
 #define Y_ENABLE_PIN       _STM32_PIN(PORTD, 11)
83
 
83
 
84
 #define Z_STEP_PIN         _STM32_PIN(PORTE, 15)
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
 #define E0_ENABLE_PIN      _STM32_PIN(PORTE, 11)
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
 #define E2_STEP_PIN        _STM32_PIN(PORTC, 13)
99
 #define E2_STEP_PIN        _STM32_PIN(PORTC, 13)
105
 #define Z2_ENABLE_PIN      _STM32_PIN(PORTC, 15)
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
 #define SPI6_SCK_PIN       _STM32_PIN(PORTG, 13)
116
 #define SPI6_SCK_PIN       _STM32_PIN(PORTG, 13)
117
 #define SPI6_MISO_PIN      _STM32_PIN(PORTG, 12)
117
 #define SPI6_MISO_PIN      _STM32_PIN(PORTG, 12)
121
 // Temperature Sensors
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
 // Heaters / Fans
134
 // Heaters / Fans
138
 #define HEATER_BED_PIN     _STM32_PIN(PORTF,  6)
138
 #define HEATER_BED_PIN     _STM32_PIN(PORTF,  6)
139
 
139
 
140
 #define FAN_PIN            _STM32_PIN(PORTD, 13)
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
 // Misc. Functions
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
 //#define NEOPIXEL_PIN     _STM32_PIN(PORTF, 13)
152
 //#define NEOPIXEL_PIN     _STM32_PIN(PORTF, 13)
153
 
153
 
154
 //
154
 //
155
 // Prusa i3 MK2 Multi Material Multiplexer Support
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
 // Servos
162
 // Servos
166
 #define SERVO1_PIN         _STM32_PIN(PORTE, 14)
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
 // MAX7219_DEBUG
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
 // LCD / Controller
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 Voir le fichier

101
 #define SDSS               53
101
 #define SDSS               53
102
 #define SD_DETECT_PIN      39
102
 #define SD_DETECT_PIN      39
103
 #define LED_PIN             8
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
 // LCD / Controller
108
 // LCD / Controller
127
 #if ENABLED(SPINDLE_LASER_ENABLE)   // use the LED_PIN for spindle speed control or case light
127
 #if ENABLED(SPINDLE_LASER_ENABLE)   // use the LED_PIN for spindle speed control or case light
128
   #undef LED_PIN
128
   #undef LED_PIN
129
   #define SPINDLE_DIR_PIN          16
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
 #else
132
 #else
133
   #undef LED_PIN
133
   #undef LED_PIN
134
   #define CASE_LIGHT_PIN            8
134
   #define CASE_LIGHT_PIN            8

+ 4
- 4
Marlin/src/pins/pins_ULTIMAKER.h Voir le fichier

43
 //
43
 //
44
 // Servos
44
 // Servos
45
 //
45
 //
46
-#define SERVO0_PIN         13 // untested
46
+#define SERVO0_PIN         13   // UNTESTED
47
 
47
 
48
 //
48
 //
49
 // Limit Switches
49
 // Limit Switches
157
 //
157
 //
158
 // M3/M4/M5 - Spindle/Laser Control
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 Voir le fichier

72
 // Limit Switches
72
 // Limit Switches
73
 //
73
 //
74
 #if ENABLED(board_rev_1_1_TO_1_3)
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
 #endif
81
 #endif
82
 
82
 
83
 #if ENABLED(board_rev_1_0)
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
 #endif
90
 #endif
91
 
91
 
92
 #if ENABLED(board_rev_1_5)
92
 #if ENABLED(board_rev_1_5)
124
 #define E0_DIR_PIN         45
124
 #define E0_DIR_PIN         45
125
 #define E0_ENABLE_PIN      41
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
 // Temperature Sensors
132
 // Temperature Sensors
138
 // Heaters / Fans
138
 // Heaters / Fans
139
 //
139
 //
140
 #define HEATER_0_PIN        2
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
 #define HEATER_BED_PIN      4
142
 #define HEATER_BED_PIN      4
143
 
143
 
144
 //
144
 //
196
 // case light  - see spindle section for more info on available hardware PWMs
196
 // case light  - see spindle section for more info on available hardware PWMs
197
 //
197
 //
198
 #if !PIN_EXISTS(CASE_LIGHT) && ENABLED(board_rev_1_5)
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
 #endif
200
 #endif
201
 
201
 
202
 //
202
 //
214
     #undef Z_MIN_PIN              // SW5
214
     #undef Z_MIN_PIN              // SW5
215
     #undef Z_MAX_PIN              // SW6
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
   #elif ENABLED(board_rev_1_5)      // use the same pins - but now they are on a different connector
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
   #elif ENABLED(board_rev_1_1_TO_1_3)
231
   #elif ENABLED(board_rev_1_1_TO_1_3)
232
 
232
 
249
       #define E0_DIR_PIN               47
249
       #define E0_DIR_PIN               47
250
       #define E0_ENABLE_PIN            48
250
       #define E0_ENABLE_PIN            48
251
       #define SPINDLE_DIR_PIN          43
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
     #elif TEMP_SENSOR_BED == 0  // Can't use E0 so see if HEATER_BED_PIN is available
254
     #elif TEMP_SENSOR_BED == 0  // Can't use E0 so see if HEATER_BED_PIN is available
255
       #undef HEATER_BED_PIN
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
     #endif
260
     #endif
261
   #endif
261
   #endif
262
 #endif
262
 #endif

+ 64
- 64
Marlin/src/pins/pins_ULTRATRONICS_PRO.h Voir le fichier

35
 // Servos
35
 // Servos
36
 //
36
 //
37
 #if NUM_SERVOS > 0
37
 #if NUM_SERVOS > 0
38
-  #define SERVO0_PIN     11
38
+  #define SERVO0_PIN       11
39
   #if NUM_SERVOS > 1
39
   #if NUM_SERVOS > 1
40
-    #define SERVO1_PIN   12
40
+    #define SERVO1_PIN     12
41
   #endif
41
   #endif
42
 #endif
42
 #endif
43
 
43
 
44
 //
44
 //
45
 // Limit Switches
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
 // Steppers
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
 // Temperature Sensors
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
 // Heaters / Fans
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
 // Misc. Functions
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
 // SPI Buses
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
 // SPI for Max6675 or Max31855 Thermocouple
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
 // LCD / Controller
136
 // LCD / Controller
137
 //
137
 //
138
 
138
 
139
-#define BEEPER_PIN       27
139
+#define BEEPER_PIN         27
140
 
140
 
141
 #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
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
 #endif // REPRAPWORLD_GRAPHICAL_LCD
151
 #endif // REPRAPWORLD_GRAPHICAL_LCD

Chargement…
Annuler
Enregistrer