#driver #ic #devices #lumissil #microsystem #required #binary

no-std is31fl3731

Driver for Lumissil Microsystem's IS31FL3731 IC

6 releases (2 stable)

1.0.1 Jun 11, 2022
1.0.0 Mar 25, 2022
0.0.4 Mar 24, 2022

#1771 in Embedded development

MIT license

23KB
434 lines

is31fl3731 driver

Crates.io Crates.io docs.rs

lint build

Driver for Lumissil Microsystem's IS31FL3731 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 raspberry pi. If you're looking for an embedded example check out my random_matrix github repo which uses this driver on the raspberry pi pico (rp2040 microcontroller).

Install

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

is31fl3731 = "1.0.1"

By default this version will only contain the core driver. To use a preconfigured device, such as the Adafruit CharliePlex LED Matrix Bonnet, you would need to change this line to include that device:

is31fl3732 = { version = "1.0.1", features = ["charlie_bonnet"] }

Functionality & Plans

Currently this library only supports some basic functions of the matrix (e.g. setup, fill, pixels). A few other features need to be implemented:

  • autoplay
  • fade
  • audio_play
  • blink

Inspiration

This driver is a port of adafruit's driver for the is31fl3731 in the rust programming language.

Dependencies

~71KB