Easier override of ST7920 LCD timing

This commit is contained in:
Scott Lahteine
2018-03-17 02:40:20 -05:00
parent ab769590a1
commit 6689884910
5 changed files with 45 additions and 15 deletions

View File

@@ -50,6 +50,12 @@
#define BTN_EN2 11
#define BTN_ENC 26
#define ST7920_DELAY_1 DELAY_0_NOP
#define ST7920_DELAY_2 DELAY_2_NOP
#define ST7920_DELAY_3 DELAY_0_NOP
#ifndef ST7920_DELAY_1
#define ST7920_DELAY_1 DELAY_0_NOP
#endif
#ifndef ST7920_DELAY_2
#define ST7920_DELAY_2 DELAY_2_NOP
#endif
#ifndef ST7920_DELAY_3
#define ST7920_DELAY_3 DELAY_0_NOP
#endif