Commit 0c4bedc6 authored by Bodmer's avatar Bodmer

Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI

parents 35126bcc e41e8698
// See SetupX_Template.h for all options available // See SetupX_Template.h for all options available
#define RPI_DISPLAY_TYPE #define RPI_DISPLAY_TYPE
#define ST7796_DRIVER // 20MHz maximum SPI #define ILI9341_DRIVER // 20MHz maximum SPI
#define TFT_MISO 19 #define TFT_MISO 19
......
...@@ -99,7 +99,7 @@ void loop() { ...@@ -99,7 +99,7 @@ void loop() {
// Font 7 is to show a pseudo 7 segment display. // 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 : . // 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.drawString("88:88",xpos,ypos,7); // Overwrite the text to clear it
tft.setTextColor(0xFBE0, TFT_BLACK); // Orange tft.setTextColor(0xFBE0); // Orange
omm = mm; omm = mm;
if (hh<10) xpos+= tft.drawChar('0',xpos,ypos,7); if (hh<10) xpos+= tft.drawChar('0',xpos,ypos,7);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment