This is a (very basic) Rust project for the BBC micro:bit embedded development board, based on the “LED roulette” exercise from the Embedded Rust Discovery book.
It uses the micro:bit's LED display matrix to show an animation (the illuminated LED appears to chase round the edge of the display clockwise).
roulette_fast.mp4
(Video borrowed from the book)
You will need Rust (naturally), cargo-binutils
, and probe-rs-tools
:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-tools-installer.sh | sh
rustup component add llvm-tools
cargo install cargo-binutils
To build the program, flash it to your board, and start it running with an RTT terminal session, run:
cargo embed