Skip to content

FrameworkComputer/is31fl3741-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.