diff --git a/User_Setups/Setup36_RPi_touch_ST7796.h b/User_Setups/Setup36_RPi_touch_ST7796.h index 3ef04b1..1f2b627 100644 --- a/User_Setups/Setup36_RPi_touch_ST7796.h +++ b/User_Setups/Setup36_RPi_touch_ST7796.h @@ -1,7 +1,7 @@ // See SetupX_Template.h for all options available #define RPI_DISPLAY_TYPE -#define ST7796_DRIVER // 20MHz maximum SPI +#define ILI9341_DRIVER // 20MHz maximum SPI #define TFT_MISO 19 diff --git a/examples/160 x 128/TFT_Clock_Digital/TFT_Clock_Digital.ino b/examples/160 x 128/TFT_Clock_Digital/TFT_Clock_Digital.ino index 8932a44..5966726 100644 --- a/examples/160 x 128/TFT_Clock_Digital/TFT_Clock_Digital.ino +++ b/examples/160 x 128/TFT_Clock_Digital/TFT_Clock_Digital.ino @@ -99,7 +99,7 @@ void loop() { // Font 7 is to show a pseudo 7 segment display. // Font 7 only contains characters [space] 0 1 2 3 4 5 6 7 8 9 0 : . tft.drawString("88:88",xpos,ypos,7); // Overwrite the text to clear it - tft.setTextColor(0xFBE0, TFT_BLACK); // Orange + tft.setTextColor(0xFBE0); // Orange omm = mm; if (hh<10) xpos+= tft.drawChar('0',xpos,ypos,7);