From b8154b72bfe249ad056f2a8455959d12c35ed472 Mon Sep 17 00:00:00 2001 From: Mikey Sklar Date: Sat, 18 May 2024 09:50:35 -0700 Subject: [PATCH] Update graphicstest_tft_gizmo.ino --- examples/graphicstest_tft_gizmo/graphicstest_tft_gizmo.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/graphicstest_tft_gizmo/graphicstest_tft_gizmo.ino b/examples/graphicstest_tft_gizmo/graphicstest_tft_gizmo.ino index 84c892d..8e38c60 100644 --- a/examples/graphicstest_tft_gizmo/graphicstest_tft_gizmo.ino +++ b/examples/graphicstest_tft_gizmo/graphicstest_tft_gizmo.ino @@ -50,14 +50,14 @@ void setup(void) { Serial.begin(9600); Serial.print(F("Hello! Gizmo TFT Test")); - pinMode(TFT_BACKLIGHT, OUTPUT); - digitalWrite(TFT_BACKLIGHT, HIGH); // Backlight on - tft.init(240, 240); // Init ST7789 240x240 tft.setRotation(2); Serial.println(F("Initialized")); + pinMode(TFT_BACKLIGHT, OUTPUT); + digitalWrite(TFT_BACKLIGHT, HIGH); // Backlight on + uint16_t time = millis(); tft.fillScreen(ST77XX_BLACK); time = millis() - time;