|
@@ -102,7 +102,7 @@
|
102
|
102
|
|
103
|
103
|
#if HAS_FILAMENT_SENSOR
|
104
|
104
|
#ifndef FIL_RUNOUT_PIN
|
105
|
|
- #define FIL_RUNOUT_PIN Y_MIN_PIN
|
|
105
|
+ #define FIL_RUNOUT_PIN Y_MIN_PIN
|
106
|
106
|
#endif
|
107
|
107
|
#endif
|
108
|
108
|
|
|
@@ -172,35 +172,38 @@
|
172
|
172
|
|
173
|
173
|
#if EITHER(RADDS_DISPLAY, REPRAP_DISCOUNT_SMART_CONTROLLER)
|
174
|
174
|
|
175
|
|
- #define BEEPER_PIN 75
|
|
175
|
+ #error "Pin compatibility check needed!"
|
|
176
|
+ #define BEEPER_PIN 54
|
176
|
177
|
#define LCD_PINS_D4 48
|
177
|
178
|
#define LCD_PINS_D7 53
|
178
|
179
|
#define SD_DETECT_PIN -1 // 51 can't be used, it's MOSI
|
179
|
|
- #define LCD_PINS_RS 76
|
180
|
|
- #define LCD_PINS_ENABLE 77
|
|
180
|
+ #define LCD_PINS_RS 55
|
|
181
|
+ #define LCD_PINS_ENABLE 56
|
181
|
182
|
|
182
|
183
|
#elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
183
|
184
|
|
184
|
|
- #define BEEPER_PIN 75
|
|
185
|
+ #define BEEPER_PIN 54
|
185
|
186
|
#define LCD_PINS_D4 48
|
186
|
187
|
#define SD_DETECT_PIN -1 // 51 can't be used, it's MOSI
|
187
|
|
- #define LCD_PINS_RS 76
|
188
|
|
- #define LCD_PINS_ENABLE 77
|
|
188
|
+ #define LCD_PINS_RS 55
|
|
189
|
+ #define LCD_PINS_ENABLE 56
|
189
|
190
|
|
190
|
191
|
#elif HAS_SSD1306_OLED_I2C
|
191
|
192
|
|
192
|
|
- #define BEEPER_PIN 75
|
|
193
|
+ #error "Pin compatibility check needed!"
|
|
194
|
+ #define BEEPER_PIN 54
|
193
|
195
|
#define LCD_SDSS 10
|
194
|
196
|
#define SD_DETECT_PIN -1 // 51 can't be used, it's MOSI
|
195
|
197
|
|
196
|
198
|
#elif ENABLED(FYSETC_MINI_12864)
|
197
|
199
|
|
198
|
|
- #define BEEPER_PIN 75
|
199
|
|
- #define DOGLCD_CS 77
|
200
|
|
- #define DOGLCD_A0 76
|
|
200
|
+ #error "Pin compatibility check needed!"
|
|
201
|
+ #define BEEPER_PIN 54
|
|
202
|
+ #define DOGLCD_CS 56
|
|
203
|
+ #define DOGLCD_A0 55
|
201
|
204
|
|
202
|
205
|
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
|
203
|
|
- // results in LCD soft SPI mode 3, SD soft SPI mode 0
|
|
206
|
+ // results in LCD soft SPI mode 3, SD soft SPI mode 0
|
204
|
207
|
|
205
|
208
|
#define LCD_RESET_PIN 48 // Must be high or open for LCD to operate normally.
|
206
|
209
|
|
|
@@ -217,7 +220,7 @@
|
217
|
220
|
#endif
|
218
|
221
|
#elif ENABLED(FYSETC_MINI_12864_2_1)
|
219
|
222
|
#error "Pin compatibility check needed! Grand central M4 pins 50, 51 and 52 are not GPIO pins, they are wired to MISO, MOSI, and SCK."
|
220
|
|
- #define NEOPIXEL_PIN 50 // D5
|
|
223
|
+ #define NEOPIXEL_PIN 50 // D5
|
221
|
224
|
#endif
|
222
|
225
|
|
223
|
226
|
#elif ENABLED(MKS_MINI_12864)
|