|
@@ -231,33 +231,33 @@
|
231
|
231
|
|
232
|
232
|
#if ENABLED(FYSETC_MINI_12864)
|
233
|
233
|
/**
|
234
|
|
- * The Fysetc display can NOT use the SCK and MOSI pins on EXP2, so a
|
|
234
|
+ * The FYSETC display can NOT use the SCK and MOSI pins on EXP2, so a
|
235
|
235
|
* special cable is needed to go between EXP2 on the FYSETC and the
|
236
|
236
|
* controller board's EXP2 and J8. It also means that a software SPI
|
237
|
237
|
* is needed to drive those pins.
|
238
|
238
|
*
|
239
|
|
- * The Fysetc requires mode 3 SPI interface.
|
|
239
|
+ * The FYSETC requires mode 3 SPI interface.
|
240
|
240
|
*
|
241
|
241
|
* Pins 6, 7 & 8 on EXP2 are no connects. That means a second special
|
242
|
242
|
* cable will be needed if the RGB LEDs are to be active.
|
243
|
243
|
*/
|
244
|
|
- #define DOGLCD_CS LCD_PINS_ENABLE // EXP1.3 (LCD_EN on Fysetc schematic)
|
245
|
|
- #define DOGLCD_A0 LCD_PINS_RS // EXP1.4 (LCD_A0 on Fysetc schematic)
|
246
|
|
- #define DOGLCD_SCK P2_11 // J8-5 (SCK on Fysetc schematic)
|
247
|
|
- #define DOGLCD_MOSI P4_28 // J8-6 (MOSI on Fysetc schematic)
|
|
244
|
+ #define DOGLCD_CS LCD_PINS_ENABLE // EXP1.3 (LCD_EN on FYSETC schematic)
|
|
245
|
+ #define DOGLCD_A0 LCD_PINS_RS // EXP1.4 (LCD_A0 on FYSETC schematic)
|
|
246
|
+ #define DOGLCD_SCK P2_11 // J8-5 (SCK on FYSETC schematic)
|
|
247
|
+ #define DOGLCD_MOSI P4_28 // J8-6 (MOSI on FYSETC schematic)
|
248
|
248
|
|
249
|
249
|
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
|
250
|
250
|
// results in LCD soft SPI mode 3, SD soft SPI mode 0
|
251
|
251
|
|
252
|
252
|
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
|
253
|
253
|
#ifndef RGB_LED_R_PIN
|
254
|
|
- #define RGB_LED_R_PIN P2_12 // J8-4 (LCD_D6 on Fysetc schematic)
|
|
254
|
+ #define RGB_LED_R_PIN P2_12 // J8-4 (LCD_D6 on FYSETC schematic)
|
255
|
255
|
#endif
|
256
|
256
|
#ifndef RGB_LED_G_PIN
|
257
|
|
- #define RGB_LED_G_PIN P1_23 // J8-3 (LCD_D5 on Fysetc schematic)
|
|
257
|
+ #define RGB_LED_G_PIN P1_23 // J8-3 (LCD_D5 on FYSETC schematic)
|
258
|
258
|
#endif
|
259
|
259
|
#ifndef RGB_LED_B_PIN
|
260
|
|
- #define RGB_LED_B_PIN P1_22 // J8-2 (LCD_D7 on Fysetc schematic)
|
|
260
|
+ #define RGB_LED_B_PIN P1_22 // J8-2 (LCD_D7 on FYSETC schematic)
|
261
|
261
|
#endif
|
262
|
262
|
#elif ENABLED(FYSETC_MINI_12864_2_1)
|
263
|
263
|
#define NEOPIXEL_PIN P2_12
|