Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CircuitPython / Python driver for IS31FL3741 RGB LED Matrix controller

License

NotificationsYou must be signed in to change notification settings

adafruit/Adafruit_CircuitPython_IS31FL3741

Repository files navigation

Introduction

Documentation StatusDiscordBuild StatusCode Style: Ruff

CircuitPython driver for the IS31FL3741 RGB Matrix IC.

This driver supports the following hardware:

Dependencies

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.

Installing from PyPI

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

Usage Example

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

Documentation

API documentation for this library can be found onRead the Docs.

For information on building library documentation, please check outthis guide.

Contributing

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

Stars

Watchers

Forks

Packages

No packages published

Contributors15

Languages


[8]ページ先頭

©2009-2025 Movatter.jp