Project-bestanden TI: Climate Measuring Box (CMB)
This commit is contained in:
16
arduino/hello-world/hello-world.ino
Normal file
16
arduino/hello-world/hello-world.ino
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* 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
|
||||
}
|
Reference in New Issue
Block a user