5 unstable releases

0.3.0 Oct 9, 2023
0.2.2 Sep 19, 2023
0.2.1 May 24, 2022
0.2.0 May 24, 2022
0.1.0 May 24, 2022

#270 in Embedded development

48 downloads per month

MIT license

22KB
393 lines

Crates.io docs.rs

lint build

is31fl3741 driver

Driver for Lumissil Microsystem's IS31FL3741 integrated circuit. Some of the major features of this library are:

  1. Use of embedded HAL traits (works with any embedded device that supports the required traits). This means that this driver is platform agnostic.
  2. Library features (only turn on what devices you need to save compiled binary space).
  3. Examples on how to use this driver. Right now there is only an example on how to use this crate with a stm32 nucleo.

Install

To install this driver in your project add the following line to your Cargo.toml's dependencies table:

is31fl3741 = "0.3.0"

By default this version will only contain the core driver. To use a preconfigured device (currently just Adafruit IS31FL3741 13x9 PWM RGB LED Matrix), you would need to change this line to include that device:

is31fl3741 = { version = "0.3.0", features = ["adafruit13x9"] }

Graphics

This driver contains optional support for the embedded-graphics library. Enable the embedded_graphics feature to use it.

The gaypride example shows off a use of this.

Inspiration

This driver is ripped off modified from gleich's is31fl3731 crate. I was originally planning on just making a PR, but the driver ended up too differet.

That driver is a port of adafruit's driver for the is31fl3731 in the Rust programming language.

Dependencies

~165KB