Files
J1B1-CMB/arduino/hello-world/hello-world.ino
2023-09-05 13:27:24 +02:00

16 lines
480 B
C++

/*
* Description: This is a basic sketch about blinking an LED on your ESP32.
* Author: Mats Otten
* Date: 5 september 2023
*/
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}