Built-in project · ESP32-C3-DevKitM-1
Blink, with a breakpoint, on an ESP32-C3
Stop the board on the line that lights the LED, and see it frozen mid-blink with its registers. The whole build, an ESP32-C3 and 2 more parts, runs here in your browser on the firmware below; open it in the editor to change the wiring or the code and run it again.
BeginnerRuns in your browser. Free, and no account needed.
Click to open it in the editor
The circuit itself, running here on the simulator. Press what can be pressed; click anything else to open it in the editor.
The code
The firmware exactly as the editor opens it. Change a line there and press Run: it compiles in the browser.
sketch.ino · ESP32-C3-DevKitM-1
// Blink: the smallest thing a board can do.
//
// GPIO 8 is the LED on the ESP32-C3-DevKitM-1, so LED_BUILTIN is 8. Wire an
// LED and a resistor from GPIO 8 to GND to see it on the breadboard too.
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(500);
digitalWrite(LED_BUILTIN, LOW);
delay(500);
}
Parts list
4 parts, plus the jumper wires. Every one is in the editor's parts bin.
- 1 × ESP32-C3-DevKitM-1
- 1 × Full-size breadboard
- 1 × Resistor, 220 Ω
- 1 × LED, blue
How it is wired
3 connections, pin by pin, read from the circuit itself. Each line is one set of pins joined together, by a jumper wire or a breadboard strip.
- Ground: ESP32-C3-DevKitM-1 pin GND; LED, blue pin C
- ESP32-C3-DevKitM-1 pin 8; Resistor, 220 Ω pin 1
- Resistor, 220 Ω pin 2; LED, blue pin A
Change it and keep it
Open it in the editor, change the circuit or the code, and keep your version in a free account.