6 releases (3 breaking)

0.4.0 Oct 21, 2024
0.3.0 Oct 9, 2023
0.2.2 Sep 19, 2023
0.2.1 May 24, 2022
0.1.0 May 24, 2022

#394 in Embedded development

Download history 7/week @ 2024-09-09 25/week @ 2024-09-23 13/week @ 2024-09-30 74/week @ 2024-10-07 20/week @ 2024-10-14 218/week @ 2024-10-21 1/week @ 2024-10-28 12/week @ 2024-11-04 30/week @ 2024-11-11 57/week @ 2024-11-18 118/week @ 2024-11-25 88/week @ 2024-12-09

280 downloads per month

MIT license

40KB
751 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.

Install

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

is31fl3741 = "0.4.0"

By default this version will only contain the core driver.

To use a preconfigured device (Framework LED Matrix or Adafruit 13x9 RGB LED Matrix), you would need to change this line to include that device:

is31fl3741 = { version = "0.4.0", features = ["framework_ledmatrix"] }
is31fl3741 = { version = "0.4.0", features = ["adafruit_rgb_13x9"] }

Graphics

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

The adafruit_rgb/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