This library enables usage of RGB matrix with RP2040 microcontroller chip on the Raspberry Pi.
Project description
JoyPi_RGB_Matrix_RaspberryPi
This library enables usage of RGB matrix with RP2040 microcontroller chip on the Raspberry Pi.
[!WARNING] This library was written for the usage of the LED matrix of the Joy-Pi Advanced 2 and Joy-Pi Note 2. Both Joy-Pis have the RP2040 microcontroller chip to control the LED matrix. This is to ensure compatibility with the Raspberry Pi 5 because the library which was used beforehand is not compatible up to this date.
Installation
You can install this library from PyPI. To install it for the current user on your Raspberry Pi, use the following command:
pip install JoyPi_RGB_Matrix_RaspberryPi
Library Guide
LEDMatrix( count = 64, brightness = 10, right_border = [7,15,23,31,39,47,55,63], left_border = [0,8,16,24,32,40,48,56])- initialize LED matrix with default values for Joy-Piclean()- clears the LED matrixsetPixel(position, colour)- sets specific pixel to a selected colourRGB_on(colour)- sets the complete matrix to one selected colourRGB_off()- turns the complete matrix offrainbow(wait_ms=20, iterations=1)- rainbow effect on the whole matrix with default valuescolourWipe(colour, wait_ms=50)- Move selected colour pixel by pixel onto the matrix with default speedtheaterChase( colour, wait_ms=50, iterations=10)- chaser animation with a selected colour with deafult speedshow()- displays set pixelsdemo1()- demo program version 1demo2()- demo program version 2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file joypi_rgb_matrix_raspberrypi-1.0.0.tar.gz.
File metadata
- Download URL: joypi_rgb_matrix_raspberrypi-1.0.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
428df795b39d43462a9aacfba4c796645cadedbce20c6752a0422576d9a6a914
|
|
| MD5 |
1c7767abee3bebc7995ccf19ae59f362
|
|
| BLAKE2b-256 |
2405becdf3ab9aa545f883febb27ffaa34927e9be01656bd8314f775f122b881
|
File details
Details for the file joypi_rgb_matrix_raspberrypi-1.0.0-py3-none-any.whl.
File metadata
- Download URL: joypi_rgb_matrix_raspberrypi-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2268b5f8677dcc7a94c13ec5b4bcf5014f09ee17ed8e3bc0a06d0c05be26a6e7
|
|
| MD5 |
c7f8b74271581b86ebb53adcd52d35dd
|
|
| BLAKE2b-256 |
96156cfd7b8394a44238886bb53e9f0cd8ed1ca79769676348aed41e031198d4
|