Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Let's write a blinky project

Your task is now to create a small program, that sets the GPIO10 to high and back low in a loop in order to let your LED blink.

Before you connect your LED, make sure its connected to a 150-330 OHM resistor. Otherwise the LED will drain too much current from your board and could potentially damage it.

See the given image from seeedstudio:

led_image Source: Seeed Studio

Reminder: You start a new esp project with

esp-generate --chip esp32c3 --headless -o probe-rs -o defmt <name of your project>

And

cargo run --release

to flash and run it.

If you are stuck, or want to see the solution: See code/blinky. In the root of the embedded-workshop.