Download esp32/level1/LCD_display_basic/src/main_esp.cpp from eunzee/PCEval: direct link, hf CLI and curl.
- Browser
- Download file 507 Bytes
-
https://huggingface.co/datasets/eunzee/PCEval/resolve/main/esp32/level1/LCD_display_basic/src/main_esp.cpp
- Command line
-
hf download hf://datasets/eunzee/PCEval/esp32/level1/LCD_display_basic/src/main_esp.cpp
-
curl -L -o main_esp.cpp https://huggingface.co/datasets/eunzee/PCEval/resolve/main/esp32/level1/LCD_display_basic/src/main_esp.cpp
507 Bytes
| /** | |
| Show text in ili9431 lcd display | |
| 05 MAY 2025 by Blind Author | |
| */ | |
| Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST); | |
| void setup() { | |
| tft.begin(); | |
| tft.setRotation(1); | |
| tft.fillScreen(ILI9341_BLACK); | |
| tft.setCursor(0, 0); | |
| tft.setTextColor(ILI9341_WHITE); | |
| tft.setTextSize(2); | |
| tft.println("Hello World!"); | |
| } | |
| void loop() { | |
| } |