Skip to content

It's a helper of IS31FL3733 LED driver for CircuitPython.

License

Notifications You must be signed in to change notification settings

labrusca/is31fl3733_driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is31fl3733 LED driver

It's a helper of IS31FL3733 LED driver for CircuitPython.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle or individual libraries can be installed using circup.

Usage Example

Single LED:

import is31fl3733

led_num = 64
pixels = is31fl3733.Helper(led_num)
pixels.brightness = 1.0 # range: 0-1.0

pixels[0] = (0xff, 0xff, 0xff) # White
pixels[1] = (0xff, 0, 0)       # Red
pixels[2] = (0, 0xff, 0)       # Green
pixels[3] = (0, 0, 0xff)       # Blue

while True:
    pixels.show()

Use with adafruit_led_animation:

import is31fl3733
from adafruit_led_animation.animation.blink import Blink
import adafruit_led_animation.color as color

led_num = 64
pixels = is31fl3733.Helper(led_num)
pixels.brightness = 0.9 # range: 0-1.0

blink = Blink(pixels, 0.5, color.PURPLE)

while True:
    blink.animate()

Other examples: here

Test on M60 keyboard

Contributors

and me ;p

About

It's a helper of IS31FL3733 LED driver for CircuitPython.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages