2025-11-2500

This commit is contained in:
2025-11-25 00:07:14 +01:00
parent 02291ccd33
commit 0171a4b6e4
4 changed files with 14 additions and 3 deletions

View File

@@ -645,7 +645,7 @@ void setup() {
// Define your display layout here, e.g. 1/8 step, and optional SPI pins begin(row_pattern, CLK, MOSI, MISO, SS)
display.begin(16); // Rows-scan pattern 1/32
// Set the color order {RRGGBB, RRBBGG, GGRRBB, GGBBRR, BBRRGG, BBGGRR} (default is RRGGBB)
display.setColorOrder(RRBBGG);
@@ -655,7 +655,18 @@ void setup() {
display.clearDisplay();
display_update_enable(true);
//--------------------------------------------------
//------- TEST -----------
display.fillRect(31, 5, 2, 6, myRED);
delay(2000);
display.fillRect(31, 5, 2, 6, myGREEN);
delay(2000);
display.fillRect(31, 5, 2, 6, myBLUE);
delay(2000);
display.fillRect(31, 5, 2, 6, myBLACK);
delay(2000);
//----------------------
print_wifi_status();
configTime(0, 0, NTP_SERVER);
// See https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv for Timezone codes for your region