Lesson Template
Structure Basics
Understand setup(), loop(), and how an Arduino sketch runs.
Lesson Overview
This lesson introduces the core ideas behind Structure Basics.
- Sketch lifecycle
- setup() vs loop()
- First upload flow
Example Code
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println("Hello ESP32");
delay(1000);
}