Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 2.19 KB

README.md

File metadata and controls

41 lines (27 loc) · 2.19 KB

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.2"

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.2", 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.