Skip to content

BartMassey-upstream/mb2-hsv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HSV: An HSV color space demo with a Microbit v2 and Rust

Lee Hoang 2026

mb2-hsv uses the Microbit v2 and an RGB LED to show off the HSV color space.

Build and Run

Compile and run the project with cargo embed --release.

To run in debug mode, use cargo embed.

What I did

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

How it went

I found this project challenging due to two primary factors:

  1. Setting up the wires/hardware.

  2. Understanding timer interrupts.

More information TBD

Acknowledgements

  • 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

License

This work is made available under the "Apache 2.0 or MIT License". See the file LICENSE.txt in this distribution for license terms.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%