Skip to content

bitfield/microbit-beachball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beachball

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)

Prerequisites

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

Installation

To build the program, flash it to your board, and start it running with an RTT terminal session, run:

cargo embed

About

A Rust project for the BBC micro:bit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published