Sergiu2424 / Winterface

GNU General Public License v3.0
0 stars 0 forks source link

Winterface logo - loading screen #2

Open Sergiu2424 opened 2 hours ago

Sergiu2424 commented 2 hours ago

//test with Arduino Mega 2560 and ILI9341 2.8" TFT display - Winterface logo loading //https://wokwi.com/projects/413383342764362753

include

include

include

define TFT_CS 10

define TFT_RST 8

define TFT_DC 9

define TFT_SCLK 13

define TFT_MOSI 11

static const char arrow = 0x18;

// Initialize the ILI9341 Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_MOSI, TFT_SCLK, TFT_RST);

void setup(void) { tft.begin(); tft.fillScreen(ILI9341_BLACK);

tft.setTextColor(ILI9341_WHITE); tft.setRotation(3); tft.setTextSize(0); tft.setCursor(4, 80); tft.println("Winterface starting..."); tft.drawRect(0, 0, 240, 320, ILI9341_WHITE); // Change to ILI9341 resolution tft.fillTriangle(30, 25, 65, 22, 55, 55, ILI9341_RED); tft.fillTriangle(45, 30, 80, 25, 55, 55, ILI9341_BLUE); tft.fillTriangle(65, 40, 110, 15, 55, 55, ILI9341_GREEN); delay(8000); }

void loop() {

}

Sergiu2424 commented 2 hours ago

Screenshot 2024-11-01 224806 win0 11