ADAFRUIT_ST7565

Added support for new display type
This commit is contained in:
Ed Boston
2015-05-17 12:47:41 -07:00
parent c5feb9c6a1
commit 41f8cdb3a6
5 changed files with 33 additions and 5 deletions

View File

@ -180,6 +180,19 @@
#define BTN_ENC -1
#define LCD_SDSS 53
#define SDCARDDETECT 49
#elif defined(ADAFRUIT_ST7565)
#define BTN_EN1 35
#define BTN_EN2 37
#define BTN_ENC 31
#define SDCARDDETECT 49
#define SDCARDDETECTINVERTED
#define SDSLOW
#define LCD_SDSS 53
#define KILL_PIN 41
#define BEEPER 23
#define DOGLCD_CS 29
#define DOGLCD_A0 27
#define LCD_PIN_BL 33
#else
// arduino pin which triggers an piezzo beeper
#define BEEPER 33 // Beeper on AUX-4
@ -209,8 +222,7 @@
#endif
#endif
#else // Old-style panel with shift register
#else // Old-style panel with shift register
// Arduino pin witch triggers an piezzo beeper
#define BEEPER 33 // No Beeper added