Download esp32/level1/led_blink_basic/src/main_esp.cpp from eunzee/PCEval: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/datasets/eunzee/PCEval/resolve/main/esp32/level1/led_blink_basic/src/main_esp.cpp
- Command line
-
hf download hf://datasets/eunzee/PCEval/esp32/level1/led_blink_basic/src/main_esp.cpp
-
curl -L -o main_esp.cpp https://huggingface.co/datasets/eunzee/PCEval/resolve/main/esp32/level1/led_blink_basic/src/main_esp.cpp
285 Bytes
| /** | |
| Turns on an LED connected to a specified pin. | |
| 31 MAR 2025 by Blind Author | |
| */ | |
| const int LED_PIN = 13; | |
| void setup() { | |
| pinMode(LED_PIN, OUTPUT); | |
| } | |
| void loop() { | |
| digitalWrite(LED_PIN, HIGH); | |
| delay(1000); | |
| digitalWrite(LED_PIN, LOW); | |
| delay(1000); | |
| } |