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 matrixsetBrightness(brightness)- set brightness to a certain level (0-255)getPixelNum()- returns number of pixel of 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
Metadata
Release files for JoyPi-RGB-Matrix-RaspberryPi 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| joypi_rgb_matrix_raspberrypi-1.0.2.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| joypi_rgb_matrix_raspberrypi-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.9 kB
Release files / joypi_rgb_matrix_raspberrypi-1.0.2.tar.gz
| Download URL | joypi_rgb_matrix_raspberrypi-1.0.2.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e808f29925e3f7e003c06410b7e2c8bd51a3dabf682f806081aa3133a7b64d43
|
|
BLAKE2b-256 checksum How to use checksums |
449bb1a8494d6658eec1d2beef4336208c5b4f5f575c6606d47c4858545b40ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / joypi_rgb_matrix_raspberrypi-1.0.2-py3-none-any.whl
| Download URL | joypi_rgb_matrix_raspberrypi-1.0.2-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3fbd78bacc8959f62aed857166712d9f9dd9bad291da8c998b4a3a520aa79d7
|
|
BLAKE2b-256 checksum How to use checksums |
bafa49d6a03a4fff5417040fd1cfa63ba909e76429c70549608abd58118b65b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|