Adding support for the Tronxy and Zonestar LCD
This commit is contained in:
@ -145,7 +145,7 @@
|
||||
* LCD / Controller
|
||||
*
|
||||
* Only the following displays are supported:
|
||||
* ANET_KEYPAD_LCD
|
||||
* ZONESTAR_LCD
|
||||
* ANET_FULL_GRAPHICS_LCD
|
||||
* REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||
*/
|
||||
@ -209,7 +209,7 @@
|
||||
* ===================== LCD PINOUTS ==================================
|
||||
* ====================================================================
|
||||
*
|
||||
* Anet V1.0 controller | ANET_KEYPAD_LCD | ANET_FULL_ | RepRapDiscount Full | Thingiverse RepRap wiring
|
||||
* Anet V1.0 controller | ZONESTAR_LCD | ANET_FULL_ | RepRapDiscount Full | Thingiverse RepRap wiring
|
||||
* physical logical alt | | GRAPHICS_LCD | Graphics Display Wiring | http://www.thingiverse
|
||||
* pin pin functions | | | | .com/thing:2103748
|
||||
*------------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -538,7 +538,7 @@
|
||||
|
||||
#endif // ULTRA_LCD
|
||||
|
||||
#if ENABLED(ANET_KEYPAD_LCD)
|
||||
#if ENABLED(ZONESTAR_LCD)
|
||||
#define LCD_PINS_RS 64
|
||||
#define LCD_PINS_ENABLE 44
|
||||
#define LCD_PINS_D4 63
|
||||
@ -550,4 +550,4 @@
|
||||
#define BTN_EN2 -1
|
||||
#define BTN_ENC -1
|
||||
// pin 29 N/C
|
||||
#endif // ANET_KEYPAD_LCD
|
||||
#endif // ZONESTAR_LCD
|
||||
|
@ -243,7 +243,21 @@
|
||||
#define ST7920_DELAY_3 DELAY_0_NOP
|
||||
#endif
|
||||
|
||||
#else // !LCD_I2C_PANELOLU2 && !LCD_FOR_MELZI
|
||||
#elif ENABLED(ZONESTAR_LCD) // For the Tronxy Melzi boards
|
||||
|
||||
#define LCD_PINS_RS 28
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 10
|
||||
#define LCD_PINS_D5 11
|
||||
#define LCD_PINS_D6 16
|
||||
#define LCD_PINS_D7 17
|
||||
#define ADC_KEYPAD_PIN 1
|
||||
|
||||
// Not used
|
||||
#define BTN_EN1 -1
|
||||
#define BTN_EN2 -1
|
||||
|
||||
#else // !LCD_I2C_PANELOLU2 && !LCD_FOR_MELZI && !ZONESTAR_LCD
|
||||
|
||||
#define BTN_ENC 16
|
||||
#define LCD_SDSS 28 // Smart Controller SD card reader rather than the Melzi
|
||||
|
Reference in New Issue
Block a user