Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 520 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 520 Bytes

ESP-JPG-2-Header

I wrote this for the ESP-WROVER-KIT with Pascal Lazarus Written for Windows !!!!!

ESP32 Arduino Code

WROVER_KIT_LCD tft; bool Switch = true;

void setup() { Serial.begin(115200); pinMode(BUTTON, INPUT_PULLUP); tft.begin(); tft.setRotation(1); tft.drawJpg(BETTYBOO, BETTYBOO_len); }

void loop() { Switch = !Switch; if (Switch) { tft.drawJpg(BUNNY, BUNNY_len); Serial.print("JPG1"); } else { tft.drawJpg(BETTYBOO, BETTYBOO_len); Serial.print("JPG2"); } delay(2000); }