LP586x matrix LED driver
LP586x matrix LED driver written in Rust (supports Texas Instruments LP5860, LP5861, LP5862, LP5864, LP5868).
This driver is still work-in-progress and not stable. Pull requests welcome!
Examples
For examples, have a look at the examples/ directory.
A very simple example:
use ;
let config = new_lp5864
.pwm_frequency
.maximum_current
.data_mode_8bit; // disable vsync for simplicity
let mut led_driver = new_with_i2c.unwrap;
let mut framebuffer = ;
framebuffer = u8MAX;
// display current framebuffer
led_driver.set_pwm.unwrap;
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.