mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-02 12:14:40 +02:00
Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI
This commit is contained in:
@@ -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
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user