Examples
Each example is a standalone project you can use as a starting point.
| Example | Difficulty | Description |
|---|---|---|
| Blinky | Beginner | Blink an LED on and off |
| PWM LED | Beginner | Fade an LED in and out using PWM |
| Schema | Beginner | Runtime data validation with typed schemas |
| WiFi + Fetch | Intermediate | Connect to WiFi and fetch JSON from an API |
| WiFi Access Point | Intermediate | Turn the ESP32 into a WiFi hotspot |
| HTTP Server | Intermediate | Serve a JSON API and SSE stream on the LAN |
| Captive Portal | Advanced | AP + DNS redirect + auto-opening sign-in page |
| UDP Discovery | Intermediate | Find peer devices on the LAN via UDP multicast |
| SNTP | Intermediate | Sync the device clock via NTP |
| RTC Counter | Intermediate | Count wake-ups from deep sleep using RTC memory |
| NeoPixel | Intermediate | Animated RGB LED patterns |
| UART | Intermediate | Serial communication with UART loopback |
| BLE Beacon | Intermediate | Broadcast sensor readings over BLE |
| BLE GATT | Advanced | Connectable GATT peripheral with notify |
More examples are available in the examples/ directory on GitHub.