LED Bargraph

Version info Documentation Build Status Average time to resolve an issue Percentage of issues still open

A Rust library & application for the Adafruit Bi-Color (Red/Green) 24-Bar Bargraph w/I2C Backpack Kit.

User Guide

```text LED Bargraph.

Usage: led-bargraph clear led-bargraph set led-bargraph (-h | --help)

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= Path to the I2C device [default: /dev/i2c-1]. --i2c-address= Address of the I2C device, in decimal [default: 112]. --bargraph-size= Size of the bargraph [default: 24]. ```

Installation

With cargo (Linux, OSX, Windows)

led-bargraph can be installed via cargo:

cargo install led-bargraph

Make sure that you use Rust 1.24 or higher.

From binaries (Linux, OSX, Windows)

Download the corresponding archive from the Releases page.

Supported Rust Versions

See the top of the Travis configuration file for the oldest, and other, supported Rust versions.

Supported Platforms

License

Licensed under either of

at your option.

Contribution

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.