The original post_addr_delay (the delay after changing the ABCD(E) address lines) was pretty long, for two reasons: First, the initial timing numbers were chosen conservatively without regard to performance; and second, because they were originally chosen assuming a high PIO clock rate but we lowered the PIO clock to 2.7MHz. Together this made the delay a huge 185us! The new value of 5 is about 1.8us instead; this gives a nice increase in FPS from 88 to 120 on my 128x128 (4 lane, 6/2 plane) setup, without any visible artifacts. |
||
|---|---|---|
| .github | ||
| docs | ||
| examples | ||
| src | ||
| .clang-format | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .readthedocs.yaml | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
| requirements.txt | ||
| setup.py | ||
Adafruit-Blinka-Raspberry-Pi5-Piomatter
| CI | status |
|---|---|
| pip builds | |
cibuildwheel |
Learn Guide
RGB Matrix Panels With Raspberry Pi 5
Installation
Installing from source:
- clone this repository
pip install ./Adafruit_Blinka_Raspberry_Pi5_Piomatter
Installing from pip:
pip install Adafruit-Blinka-Raspberry-Pi5-Piomatter
System setup
If ls -l /dev/pio0 reports that the file is not found, you may need to update your Pi 5 firmware to one with PIO support and make sure that you are running a suitably recent kernel. If ls -l /dev/pio0 reports that the file is owned by root and group root, you should add the following to /etc/udev/rules.d/99-com.rules:
SUBSYSTEM=="*-pio", GROUP="gpio", MODE="0660"
Building the documentation
Documentation for the example project is generated using Sphinx. Sphinx has the ability to automatically inspect the signatures and documentation strings in the extension module to generate beautiful documentation in a variety formats. The following command generates HTML-based reference documentation; for other formats please refer to the Sphinx manual:
cd Adafruit_Blinka_Raspberry_Pi5_Piomatter/docsmake html
License
Adafruit_Blinka_Raspberry_Pi5_Piomatter is provided under the GPL-2-only license that can be found in the LICENSE file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.