3 unstable releases
Uses old Rust 2015
0.2.1 | Oct 31, 2018 |
---|---|
0.2.0 | Oct 25, 2018 |
0.1.0 | Oct 12, 2018 |
#36 in #ti
18KB
206 lines
LP55231
This is driver for the TI LP55231 that implements the embedded-hal
traits.
Note that this driver is not yet platform-agnostic, as it relies on the cortex-m
crate for a startup delay.
What works
- Turning LEDs on and off
- Resetting the IC
TODO
- add support for writing programs
- add support for using the temperature sensor
- add support for GPIOs
lib.rs
:
LP55231
This is a driver for the TI LP55231 RGB LED controller IC
using the embedded_hal
traits.
NOTE that this driver is not yet platform agnostic, as it relies on cortex_m
for a delay.
This driver optionally takes a digital output pin to control power to the LP55231. It will drive the pin (digital) high on power-on, and (digital) low on power-off.
Dependencies
~180KB