Commit graph

155 commits

Author SHA1 Message Date
4fba6a6ee3 Merge remote-tracking branch 'origin/main' into make-package 2025-03-07 11:42:44 -06:00
foamyguy
2b7a9c6d61
Merge pull request #26 from FoamyGuy/virtual_display_withkeyboard
virtualdisplay_keyboard example
2025-03-07 10:04:00 -06:00
65b8b6fbf6 A variant spiral demo now works on active3!
.. with 3 64x64 panels.
2025-03-07 10:02:41 -06:00
296047a806 Allow using fewer than all the lanes
It's always the lowest numbered lanes. So now you can at least run
the first lane of an Active3 with a standard matrix map
2025-03-06 14:24:19 -06:00
274adf1805 Improve error reporting when address lines wrong
Before, a weird error would be shown because of the blitter thread
destructor running.
2025-03-06 14:23:30 -06:00
cfec6060d8 WIP support more RGB out pins 2025-03-06 13:49:48 -06:00
d008684e5d Add active3 pinout (only first connector works) 2025-03-06 13:49:24 -06:00
d26bba84ba Update ruff config
I saw this warning on the terminal...
2025-03-06 10:17:35 -06:00
4ffb57c3d5 Reorganize includes per ruff's preferences 2025-03-06 10:17:11 -06:00
47226cf246 Move the click options into the piomatter package 2025-03-06 10:13:27 -06:00
97d5a4454d Allow passing in the matrix map directly to a Geometry object 2025-03-06 10:12:17 -06:00
cab2d4293d Move everything to a package structure 2025-03-06 10:12:17 -06:00
foamyguy
f627e654fb requirements sort 2025-03-04 10:56:29 -06:00
foamyguy
86070bb49a virtualdisplay_keyboard example 2025-03-04 10:38:44 -06:00
dependabot[bot]
8d967c26e1
Bump pypa/cibuildwheel from 2.22.0 to 2.23.0
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.22.0 to 2.23.0.
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.22.0...v2.23.0)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 09:52:57 +00:00
foamyguy
749734085b
Merge pull request #23 from adafruit/pyvirtualdisplay-example
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
Pyvirtualdisplay example
2025-02-26 09:27:15 -06:00
9b54dd1431 fix copypaste error
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
2025-02-25 11:09:35 -06:00
ebefcce1c3 new example 2025-02-25 11:09:30 -06:00
419f3f7eb7
Merge pull request #21 from FoamyGuy/docs_updates
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
Docs updates
2025-02-15 14:43:59 -06:00
foamyguy
c0150816d2
Merge pull request #22 from adafruit/fix-module-name
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
Change module name
2025-02-13 10:21:14 -06:00
60ae2029b9 Change module name
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
Change all references from adafruit_raspberry_pi5_piomatter to
adafruit_blinka_raspberry_pi5_piomatter.

Closes #20
2025-02-13 09:50:37 -06:00
foamyguy
15942f5c74 argument docstrings for PioMatter init 2025-02-12 12:21:12 -06:00
foamyguy
19706d79b9 add rotation to Geometry init docstring 2025-02-12 11:40:27 -06:00
985d72ceb9
Merge pull request #18 from FoamyGuy/updating_examples
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
Updating examples for newer init API
2025-02-11 09:39:49 -06:00
foamyguy
248c59ae2a remove unused import 2025-02-10 16:32:30 -06:00
foamyguy
c886a13fd6 add colorspace and pinout to auto generated docs 2025-02-10 16:31:02 -06:00
foamyguy
22ad9aa7df update examples to use PioMatter() init. update fbmirror_scaled to use the click wrapper. remove colorspace as an argument and hardcode it in the examples. 2025-02-10 16:14:02 -06:00
foamyguy
dd77450f15
Merge pull request #14 from adafruit/bgr-panel-support
Some checks are pending
Pip / build (ubuntu-24.04-arm, 3.11) (push) Waiting to run
Pip / build (ubuntu-24.04-arm, 3.12) (push) Waiting to run
Pip / build (ubuntu-24.04-arm, 3.13) (push) Waiting to run
pre-commit / pre-commit (push) Waiting to run
Wheels / Build SDist (push) Waiting to run
Wheels / Wheels on ubuntu-24.04-arm (push) Waiting to run
Wheels / Upload release (push) Blocked by required conditions
Support swapped (bgr) matrices
2025-02-10 09:49:04 -06:00
1a3f5d4ebe examples: Add common argument parsing code, use it in fbmirror
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.
2025-02-09 10:28:26 -06:00
d27897fd18 add an example for the 64x64 matrix 2025-02-09 10:27:12 -06:00
f33e9ca82e Format code with pre-commit 2025-02-09 10:27:12 -06:00
a2f1470548 fix ignore of files in top level 2025-02-09 10:27:12 -06:00
9eafd20e9d Support swapped (bgr) matrices
& add enumerated types so there's not an explosion of constructors in
the Python code.
2025-02-09 10:27:12 -06:00
2cd187da15
Merge pull request #11 from adafruit/rtd-config
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
add readthedocs conf
2025-02-06 10:11:22 -06:00
65c9942bb8 add readthedocs conf
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
2025-02-06 10:08:32 -06:00
foamyguy
a857bb6b38
Merge pull request #10 from FoamyGuy/learn_guide_link
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
learn guide link
2025-02-05 11:05:37 -06:00
foamyguy
ae6cfb83ec learn guide link 2025-02-05 11:00:49 -06:00
foamyguy
00101f6668
Merge pull request #9 from FoamyGuy/various_touchups
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
Various touchups
2025-02-04 17:17:11 -06:00
foamyguy
5452337f38 fbmirror.py args fix 2025-02-04 12:10:53 -06:00
foamyguy
502beb6cda animated gif example 2025-02-04 10:08:27 -06:00
foamyguy
33b8041ef6 font color var, normal rotation, fix margin 2025-02-04 08:50:20 -06:00
foamyguy
c3675b74bd fix rotation, use smaller size pen 2025-02-04 08:38:36 -06:00
foamyguy
b19bfce407 int radius 2025-02-04 08:33:04 -06:00
foamyguy
6caa68ec13 new examples, parameterize fbmirrors, add pillow to req, add font license 2025-02-04 08:27:12 -06:00
foamyguy
73ad9de612 Merge branch 'refs/heads/main' into various_touchups 2025-02-04 08:21:37 -06:00
foamyguy
1727669809
Merge pull request #8 from adafruit/ci-arm
Some checks are pending
Pip / build (ubuntu-24.04-arm, 3.11) (push) Waiting to run
Pip / build (ubuntu-24.04-arm, 3.12) (push) Waiting to run
Pip / build (ubuntu-24.04-arm, 3.13) (push) Waiting to run
pre-commit / pre-commit (push) Waiting to run
Wheels / Build SDist (push) Waiting to run
Wheels / Wheels on ubuntu-24.04-arm (push) Waiting to run
Wheels / Upload release (push) Blocked by required conditions
run CI on arm, since we target arm
2025-02-03 20:39:40 -06:00
7a57c787c6 run CI on arm, since we target arm
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
See https://github.com/adafruit/Adafruit_Blinka_Raspberry_Pi5_rp1pio/pull/3
and https://github.com/pypa/cibuildwheel/issues/2257 for more
background
2025-02-03 20:12:31 -06:00
7c332582ef
Merge pull request #7 from FoamyGuy/single_panel_simpletest
single panel simpletest
2025-02-03 20:11:54 -06:00
foamyguy
443f6ee53c single panel simpletest 2025-02-03 17:57:18 -06:00
foamyguy
cc110b3ce5 parameterize quote scroller 2025-02-03 17:53:32 -06:00