install Rust (via rustup) and the esp-rs toolchain (via espup).
connect your board, build and flash with:
cargo run --release- support motors using ESP32 MCPWM ✅
- support dual motors ✅
- support changing direction ✅
- add ultrasonic sensor support ✅
- add dual sensor support ✅
- add manual control over wifi
- connect to wifi ✅
- define simple protocol via UDP for controlling motors
- create client that will send UDP datagrams to device
- simplify codebase, remove bullshit
- simplify motor module ✅
- simplify ultrasonic module ✅
- simplify net module
todo!();
- Async Rust in Embedded Systems with Embassy - Dario Nieuwenhuis: excellent introduction to embassy and async flow in embedded systems
- esp-hal examples: took many ideas from here, the docs are really good also.
- Embassy Book: lots of info