No description
Find a file
Jeff Epler 1a3f5d4ebe
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
examples: Add common argument parsing code, use it in fbmirror
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.
2025-02-09 10:28:26 -06:00
.github run CI on arm, since we target arm 2025-02-03 20:12:31 -06:00
docs start on docs 2025-01-15 10:37:15 -06:00
examples examples: Add common argument parsing code, use it in fbmirror 2025-02-09 10:28:26 -06:00
src add an example for the 64x64 matrix 2025-02-09 10:27:12 -06:00
.clang-format let's format our source code consistently 2025-01-14 09:40:36 -06:00
.gitignore fix ignore of files in top level 2025-02-09 10:27:12 -06:00
.pre-commit-config.yaml bump hook versions 2025-01-15 11:32:17 -06:00
.readthedocs.yaml add readthedocs conf 2025-02-06 10:08:32 -06:00
LICENSE WIP: pybindings 2025-01-14 11:50:12 -06:00
pyproject.toml WIP: pybindings 2025-01-14 11:50:12 -06:00
README.md learn guide link 2025-02-05 11:00:49 -06:00
requirements.txt new examples, parameterize fbmirrors, add pillow to req, add font license 2025-02-04 08:27:12 -06:00
setup.py fix pip install name 2025-01-15 10:19:17 -06:00

Adafruit-Blinka-Raspberry-Pi5-Piomatter

CI status
pip builds Pip Actions Status
cibuildwheel Wheels Actions Status

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/docs
  • make 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.