|
Some checks failed
Pip / build (ubuntu-24.04-arm, 3.11) (push) Has been cancelled
Pip / build (ubuntu-24.04-arm, 3.12) (push) Has been cancelled
Pip / build (ubuntu-24.04-arm, 3.13) (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Wheels / Build SDist (push) Has been cancelled
Wheels / Wheels on ubuntu-24.04-arm (push) Has been cancelled
Wheels / Upload release (push) Has been cancelled
Now you can set most anything you'd want from the commandline:
```
Usage: fbmirror.py [OPTIONS]
Options:
--x-offset INTEGER The x offset of top left corner of the
region to mirror
--y-offset INTEGER The y offset of top left corner of the
region to mirror
--num-address-lines INTEGER The number of address lines used by the
panels
--num-planes INTEGER The number of bit planes (color depth. Lower
values can improve refresh rate in frames
per second
--orientation [Normal|R180|CCW|CW]
The overall orientation (rotation) of the
panels
--pinout [AdafruitMatrixBonnet|AdafruitMatrixBonnetBGR|AdafruitMatrixHat|AdafruitMatrixHatBGR]
The details of the electrical connection to
the panels
--colorspace [RGB888Packed|RGB888|RGB565]
The memory organization of the framebuffer
--serpentine / --no-serpentine The organization of multiple panels
--height INTEGER The panel height in pixels
--width INTEGER The panel width in pixels
--help Show this message and exit.
```
It might would be good to apply this generally across the examples.
|
||
|---|---|---|
| .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.