Skip to content

Instantly share code, notes, and snippets.

@MartinRGB
Last active November 1, 2023 17:45
Show Gist options
  • Save MartinRGB/5945b264f62d74997f25b681bb395715 to your computer and use it in GitHub Desktop.
Save MartinRGB/5945b264f62d74997f25b681bb395715 to your computer and use it in GitHub Desktop.

image

reference:

https://www.waveshare.com/rgb-matrix-p2.5-64x64.htm

Prepare:

comment dtparam=audio=on in /boot/config.txt

blacklist snd_bcm2835 in /etc/modprobe.d/blacklist-snd_bcm2835.conf

Hardware Connection

waveshare link

image

C Demo

waveshare link

Python Demo

raspberry valley

rpi-rgb-led-matrix/bindings/python

sudo apt-get update && sudo apt-get install python3-dev python3-pillow -y
make build-python PYTHON=$(command -v python3)
sudo make install-python PYTHON=$(command -v python3)

Run demo like this:

sudo python3 ./graphics.py --led-cols=64 --led-rows=64 --led-chain=1 --led-no-hardware-pulse=true

--led-slowdown-gpio=<0..4>: Slowdown GPIO. Needed for faster Pis and/or slower panels (Default: 1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment