Close

IS31FL3731 Charlie-Plexed LED Matrix

A project log for Various Micropython Libraries and Drivers

A collection of miscellaneous libraries and drivers for Micropython

dehipudeʃhipu 07/09/2016 at 12:360 Comments

This driver is for a monochromatic matrix of up to 144 LEDs, with hardware PWM and blinking. It also has 8 frames of memory, and can fade between them, or play animations with them -- optionally synchronized to music! The code is at https://bitbucket.org/thesheep/micropython-is31fl3731/src/tip/is31fl3731.py

Example use:

import is31fl3731
from machine import I2C, Pin
i2c = I2C(Pin(5), Pin(4))
display = is31fl3731.CharlieWing(i2c)
display.fill(127)
display.pixel(0, 0, 2, True)
display.blink(540)

Discussions