Small update for DP66X display compatibility
This commit is contained in:
@@ -154,6 +154,7 @@ byte BWset;
|
|||||||
byte BWsetAM;
|
byte BWsetAM;
|
||||||
byte BWsetFM;
|
byte BWsetFM;
|
||||||
byte charwidth = 8;
|
byte charwidth = 8;
|
||||||
|
|
||||||
#if defined(CHINA_PORTABLE) || defined(DEEPELEC_DP_66X)
|
#if defined(CHINA_PORTABLE) || defined(DEEPELEC_DP_66X)
|
||||||
byte hardwaremodel = PORTABLE_ILI9341;
|
byte hardwaremodel = PORTABLE_ILI9341;
|
||||||
#else
|
#else
|
||||||
@@ -646,6 +647,7 @@ void setup() {
|
|||||||
attachInterrupt(digitalPinToInterrupt(ROTARY_PIN_B), read_encoder, CHANGE);
|
attachInterrupt(digitalPinToInterrupt(ROTARY_PIN_B), read_encoder, CHANGE);
|
||||||
|
|
||||||
#ifdef DEEPELEC_DP_66X
|
#ifdef DEEPELEC_DP_66X
|
||||||
|
tft.invertDisplay(1);
|
||||||
pinMode(EXT_IRQ, INPUT_PULLUP);
|
pinMode(EXT_IRQ, INPUT_PULLUP);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user