Skip to main content

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-Pi
  • clean() - clears the 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

joypi_rgb_matrix_raspberrypi-1.0.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

joypi_rgb_matrix_raspberrypi-1.0.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file joypi_rgb_matrix_raspberrypi-1.0.0.tar.gz.

File metadata

File hashes

Hashes for joypi_rgb_matrix_raspberrypi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 428df795b39d43462a9aacfba4c796645cadedbce20c6752a0422576d9a6a914
MD5 1c7767abee3bebc7995ccf19ae59f362
BLAKE2b-256 2405becdf3ab9aa545f883febb27ffaa34927e9be01656bd8314f775f122b881

See more details on using hashes here.

File details

Details for the file joypi_rgb_matrix_raspberrypi-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for joypi_rgb_matrix_raspberrypi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2268b5f8677dcc7a94c13ec5b4bcf5014f09ee17ed8e3bc0a06d0c05be26a6e7
MD5 c7f8b74271581b86ebb53adcd52d35dd
BLAKE2b-256 96156cfd7b8394a44238886bb53e9f0cd8ed1ca79769676348aed41e031198d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page