mirror of
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library.git
synced 2026-03-04 23:34:09 +01:00
Update TFTeSPI examples
This commit is contained in:
@@ -44,7 +44,7 @@ void setup()
|
||||
|
||||
watch->begin();
|
||||
|
||||
tft = watch->eTFT;
|
||||
tft = watch->tft;
|
||||
|
||||
tft->setTextFont(2);
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ void setup(void)
|
||||
|
||||
ttgo->begin();
|
||||
|
||||
tft = ttgo->eTFT;
|
||||
tft = ttgo->tft;
|
||||
|
||||
tft->fillScreen(TFT_BLACK);
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ void setup(void)
|
||||
|
||||
ttgo->begin();
|
||||
|
||||
tft = ttgo->eTFT;
|
||||
tft = ttgo->tft;
|
||||
|
||||
tft->fillScreen(TFT_BLACK);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user