- Notifications
You must be signed in to change notification settings - Fork10
CircuitPython / Python driver for IS31FL3741 RGB LED Matrix controller
License
adafruit/Adafruit_CircuitPython_IS31FL3741
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CircuitPython driver for the IS31FL3741 RGB Matrix IC.
This driver supports the following hardware:
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem.This is easily achieved by downloadingthe Adafruit library and driver bundle.
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfromPyPI. To install for current user:
pip3 install adafruit-circuitpython-is31fl3741
To install system-wide (this may be required in some cases):
sudo pip3 install adafruit-circuitpython-is31fl3741
To install in a virtual environment in your current project:
mkdir project-name&&cd project-namepython3 -m venv .venvsource .venv/bin/activatepip3 install adafruit-circuitpython-is31fl3741
Matrix:
importtimeimportboardimportadafruit_is31fl3741i2c=board.I2C()# uses board.SCL and board.SDA# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontrolleris31=adafruit_is31fl3741.IS31FL3741(i2c)is31.set_led_scaling(0xFF)# turn on LEDs all the wayis31.global_current=0xFF# set current to maxis31.enable=True# enable!# light up every LED, one at a timewhileTrue:forpixelinrange(351):is31[pixel]=255time.sleep(0.01)is31[pixel]=0
API documentation for this library can be found onRead the Docs.
For information on building library documentation, please check outthis guide.
Contributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
About
CircuitPython / Python driver for IS31FL3741 RGB LED Matrix controller
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors15
Uh oh!
There was an error while loading.Please reload this page.