A Rust library & application for the Adafruit Bi-Color (Red/Green) 24-Bar Bargraph w/I2C Backpack Kit.
You can integrate led-bargraph
into your project through the releases on crates.io:
```toml
[dependencies] led-bargraph = "0.1.0" ```
``` LED Bargraph.
Usage:
led-bargraph clear
led-bargraph set
Commands: clear Clear the display. set Display the value against the range.
Arguments: value The value to display. range The range of the bar graph to display.
Options:
-h --help Show this screen.
--i2c-path=
HT16K33
to use an interface.HT16K33
should initialize itself before being passed to Bargraph
, and Bargraph
just verifies that it's usable.--show
option for virtual display on the command-line.ht16k33
library into a separate crate.Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.