An example Rust project that uses pin GPIO4 on an ESP32-C3 board to blink an LED and print some text to the serial bus.
To flash this project, run this command:
cargo espflash $(ls /dev/cu.usbserial-* | head -n 1) --monitor
Or
cargo run --release
- Demonstrates how to connect to a Wifi network
- Demonstrates how to publish an MQTT message
- Demonstrates how to go to deep sleep
This project has been heavily inspired by these projects: