is31fl3731

Crates.iois31fl3731
lib.rsis31fl3731
version1.0.1
sourcesrc
created_at2022-03-19 21:36:13.140067
updated_at2022-06-11 04:40:23.882969
descriptionDriver for Lumissil Microsystem's IS31FL3731 IC
homepage
repositoryhttps://github.com/gleich/is31fl3731
max_upload_size
id553347
size29,065
Matt Gleich (gleich)

documentation

README

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.

Commit count: 36

cargo fmt