Files
J1B3-Sensor-boxes/arduino/hello-world.ino
2024-02-06 16:21:12 +01:00

17 lines
481 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
}