Skip to main content

Introduction

Documentation Status Discord Build Status Code 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 downloading the Adafruit library and driver bundle.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. 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-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-is31fl3741

Usage Example

Matrix:

import time
import board
import adafruit_is31fl3741

i2c = board.I2C()  # uses board.SCL and board.SDA
# i2c = board.STEMMA_I2C()  # For using the built-in STEMMA QT connector on a microcontroller
is31 = adafruit_is31fl3741.IS31FL3741(i2c)

is31.set_led_scaling(0xFF)  # turn on LEDs all the way
is31.global_current = 0xFF  # set current to max
is31.enable = True  # enable!

# light up every LED, one at a time
while True:
    for pixel in range(351):
        is31[pixel] = 255
        time.sleep(0.01)
        is31[pixel] = 0

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Metadata

Release files for adafruit-circuitpython-is31fl3741 1.5.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adafruit-circuitpython-is31fl3741 1.5.8
File Size Uploaded
adafruit_circuitpython_is31fl3741-1.5.8.tar.gz 37.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-is31fl3741 1.5.8
File Interpreter ABI Platform
adafruit_circuitpython_is31fl3741-1.5.8-py3-none-any.whl Python 3 none any Details

Total release size: 55.7 kB

Release files / adafruit_circuitpython_is31fl3741-1.5.8.tar.gz

Download URL adafruit_circuitpython_is31fl3741-1.5.8.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d06ec8a63fa9ec3e5326f69e00bb7243e309c7536eeb5aef216c02a58a16caa2
BLAKE2b-256 checksum
How to use checksums
8ba912e209357d442706783f812571f86e3ab6e9c3ec0d6a99db9de0fb0b1d3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / adafruit_circuitpython_is31fl3741-1.5.8-py3-none-any.whl

Download URL adafruit_circuitpython_is31fl3741-1.5.8-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f1723e576693cec839304dd9e2f9af99a38caf53e65a033405a2c58d469e3e4
BLAKE2b-256 checksum
How to use checksums
9c432b445e906ff94962d85e50af735446c4046e6895d596f7fdae129c3694e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

1.5.8 This release

2 release files

1.5.7

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page