is31fl3741

Crates.iois31fl3741
lib.rsis31fl3741
version0.4.0
sourcesrc
created_at2022-05-24 05:32:29.093323
updated_at2024-10-21 17:07:59.432241
descriptionDriver for Lumissil Microsystem's IS31FL3741 IC
homepage
repositoryhttps://github.com/FrameworkComputer/is31fl3741-rs
max_upload_size
id592477
size43,265
Daniel Schaefer (JohnAZoidberg)

documentation

README

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.

Commit count: 70

cargo fmt