tca62724fmg

Crates.iotca62724fmg
lib.rstca62724fmg
version0.1.2
sourcesrc
created_at2020-04-02 19:02:56.873982
updated_at2020-04-03 18:12:02.866171
descriptionTCA62724FMG RGB LED driver for embedded hal
homepage
repositoryhttps://github.com/tstellanova/tca62724fmg
max_upload_size
id225623
size21,128
Todd Stellanova (tstellanova)

documentation

README

tca62724fmg

The Toshiba TCA62724FMG is a three output RGB LED with an I2C interface. It features high brightness and three independent PWM controllers. It's commonly used for status indicator lights.

rgbled demo gif

Resources

License

BSD-3 : see LICENSE file.

Status

  • Builds
  • Tested with hardware device
  • Supports setting color channels individually
  • Supports setting white values (all color channels equal brightness)
  • Supports toggling on and off light output

Examples

This example has been tested with stm32h743 in a Holybro Durandal flight controller, with an externally connected M8N GPS module containing a tca62724fmg rgbled.

cargo run --example sweep --target thumbv7em-none-eabihf

The memory.x ,.cargo/config, and dronecode.gdb files included with this crate are configured to run this example by connecting to the Durandal via a dronecode probe (or similar, such as a Black Magic Probe)

Commit count: 6

cargo fmt