Built-in project · Seeed XIAO RP2040
XIAO RP2040 blink
The red user LED of the XIAO RP2040, on GPIO 17, which lights when the pin is LOW. The whole build, a Seeed XIAO RP2040, 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.
Teaching? Assign it to your class in one click.
Beginner Runs in your browser. Free, and no account needed.
The parts retail for about $10.40. On Mokxi they're free.
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 · Seeed XIAO RP2040
// Blink: the red user LED, GPIO 17, which lights when the pin is LOW.
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, LOW); // on
delay(500);
digitalWrite(LED_BUILTIN, HIGH); // off
delay(500);
}
Parts list
2 parts, plus the jumper wires. They retail for about $10.40; on Mokxi they're free.
Change it and keep it
Open it in the editor, change the circuit or the code, and keep your version in a free account.