mb2-hsv uses the Microbit v2 and an RGB LED to show off the HSV color space.
Compile and run the project with cargo embed --release.
To run in debug mode, use cargo embed.
I created a program that uses a breadboard, an LED, a potentiometer, and a microbit to show off the HSV color space. The user can turn the potentiometer to adjust the color of the LED.
More information TBD
I found this project challenging due to two primary factors:
-
Setting up the wires/hardware.
-
Understanding timer interrupts.
More information TBD
- Documentation for the
microbit-v2,hsv, and other crates. Links can be found in the source code. - Classmates from the Winter 2026 Rust Embedded class for help on setup and expected program behavior.
- MB2 Discovery Book - provided starting points for Microbit v2 code.
- pdx-cs-rust-embedded - provided starting points for setting up the project.
- Rust Cargo book - used to specify git repo for dependencies.
- hsv crate documentation
This work is made available under the "Apache 2.0 or MIT
License". See the file LICENSE.txt in this distribution for
license terms.