# EP1 — ESP32-C3 SuperMini Blink

The minimum on-ramp for the ESP32-C3 SuperMini.

## Setup
1. Install **VS Code** and the **PlatformIO** extension (or just the `pio` CLI).
2. Create a project folder with this `platformio.ini`:
   ```ini
   [env:esp32-c3-supermini]
   platform = espressif32
   board = esp32-c3-devkitm-1
   framework = arduino
   upload_speed = 115200
   upload_flags = --no-stub
   build_flags = -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1
   ```
3. Drop `esp32-blink.ino` into the project's `src/` folder.
4. Plug the board in over USB and run `pio run -t upload` (or click **Upload** in VS Code).
5. Watch the serial output with `pio device monitor` (115200 baud).

## Gotchas
- **Use a data USB cable**, not charge-only — that's the #1 "it won't connect."
- Upload stuck at *Connecting...*? **Hold the BOOT button** while it starts, then release.
- **Keep `upload_flags = --no-stub` and 115200 baud** — the SuperMini's native-USB ROM downloader dies at the stub loader without them.
- **No serial output?** The SuperMini has no USB-UART bridge; the `ARDUINO_USB_*` build flags above are what make the monitor work.
- Onboard LED is `GPIO 8` on the C3 SuperMini, and it's **active-low** (lit when LOW).
- The SuperMini gives you ~11 GPIO; leave strapping pins `2`, `8`, `9` for last.
- The ESP32 is **3.3 V logic** — never feed a pin 5 V.

More: https://minirobo.io/episodes/esp32.html
