From 53a99e6dfe7a7524bcb5fb36a716f250ce5ae09e Mon Sep 17 00:00:00 2001 From: KonradIT Date: Wed, 18 Dec 2024 09:56:20 +0100 Subject: [PATCH] better splash screen --- tft_src/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tft_src/main.cpp b/tft_src/main.cpp index edd0585..ad848b7 100644 --- a/tft_src/main.cpp +++ b/tft_src/main.cpp @@ -926,15 +926,16 @@ void setup() st7789->fillScreen(ST7789_BLACK); - st7789->drawXBitmap(100, 50, epd_bitmap_ucog, 128, 64, ST7789_WHITE); - - st7789->fillScreen(ST7789_BLACK); + st7789->drawXBitmap(120, 70, epd_bitmap_ucog, 128, 64, ST7789_WHITE); // Setup variables like Bandwidth: drawText(10, 10, "Setup T190", ST7789_WHITE); st7789->drawLine(10, 30, DISPLAY_WIDTH, 30, ST7789_CYAN); drawText(10, 40, "BW: " + String(bandwidth), ST7789_GREEN); + drawText(10, 50, "FREQ BEGIN: " + String(FREQ_BEGIN) + " MHz", ST7789_YELLOW); + drawText(10, 60, "FREQ END: " + String(FREQ_END) + " MHz", ST7789_YELLOW); + for (int i = 0; i < 800; i++) { button.update();