https://github.com/snasirca/rust-esp32-c3-blinky
A Rust project that uses pin GPIO4 on an ESP32-C3 board to blink an LED and print some text to the serial bus.
https://github.com/snasirca/rust-esp32-c3-blinky
esp32 esp32c3 rust rust-em
Last synced: 5 months ago
JSON representation
A Rust project that uses pin GPIO4 on an ESP32-C3 board to blink an LED and print some text to the serial bus.
- Host: GitHub
- URL: https://github.com/snasirca/rust-esp32-c3-blinky
- Owner: snasirca
- Created: 2022-07-01T19:04:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T19:12:59.000Z (8 months ago)
- Last Synced: 2025-01-31T04:51:29.584Z (5 months ago)
- Topics: esp32, esp32c3, rust, rust-em
- Language: Rust
- Homepage:
- Size: 291 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/snasirca/rust-esp32-c3-blinky/actions/workflows/ci-build.yml)
# Rust ESP32-C3 Blinky
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
## Additional Examples
* Demonstrates how to connect to a Wifi network
* Demonstrates how to publish an MQTT message
* Demonstrates how to go to deep sleep## Espressif docs
* [ESP32-C3-DevKitC-02](https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32c3/esp32-c3-devkitc-02/user_guide.html#hardware-reference)
## Credits
This project has been heavily inspired by these projects:
* [ESP32-C3 Embassy](https://github.com/claudiomattera/esp32c3-embassy)
* [Rust on ESP32 STD demo app](https://github.com/ivmarkov/rust-esp32-std-demo#rust-on-esp32-std-demo-app)