Exercises taken from Discovery Book: Embedded Rust
All exercises were re-worked to remove any bits of unsafe code & add better error handling Also expanded functionality so it is a bit more advanced :)
Original article has multiple examples, but those are more about learning one's way around Embedded concepts, so I'm trying to incorporate a bit of fun in there to ensure I fully understand how Embedded world works
i2c
led_compass
led_roulette
punch_o_meter
scrolling_led
- Select example
- Then from example folder execute
# To build & flash binaries
cargo embed --target thumbv7em-none-eabihf --release
# To find out how big is the binary
cargo size --target thumbv7em-none-eabihf --release -- -A