Skip to main content

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-Pi
  • clean() - clears the LED matrix
  • setBrightness(brightness) - set brightness to a certain level (0-255)
  • getPixelNum() - returns number of pixel of led matrix
  • setPixel(position, colour) - sets specific pixel to a selected colour
  • RGB_on(colour) - sets the complete matrix to one selected colour
  • RGB_off() - turns the complete matrix off
  • rainbow(wait_ms=20, iterations=1) - rainbow effect on the whole matrix with default values
  • colourWipe(colour, wait_ms=50) - Move selected colour pixel by pixel onto the matrix with default speed
  • theaterChase( colour, wait_ms=50, iterations=10) - chaser animation with a selected colour with deafult speed
  • show() - displays set pixels
  • demo1() - demo program version 1
  • demo2() - 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)

Source distribution for JoyPi-RGB-Matrix-RaspberryPi 1.0.2
File Size Uploaded
joypi_rgb_matrix_raspberrypi-1.0.2.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for JoyPi-RGB-Matrix-RaspberryPi 1.0.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

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