Phil Howard
074570f99c
PicoVector: Revert the tile buffer to be fixed.
...
Ensure that MicroPython doesn't ever place the tile buffer into PSRAM
and trash performance.
2025-03-28 10:31:01 +00:00
Phil Howard
1bf73a20cd
PicoVector: Runtime buffer allocation.
2025-03-28 10:31:01 +00:00
Phil Howard
aa9d03f0cb
PicoVector: Prefix some pretty-poly variables.
2025-03-28 10:31:01 +00:00
Phil Howard
24eee10895
PicoGraphics: Non-blocking Inky update for #936 .
2025-03-28 10:31:01 +00:00
Phil Howard
64136cdb83
Plasma: Add support for GPIOs >=32.
...
For both APA102 and WS2812 the pins used on the same PIO must be in the same range.
The GPIO base offset applies to the whole PIO and not individual state machines.
This means that for APA102 both data and clock must be in the same pin range,
ie: either 16-48 inclusive or 0-31 inclusive.
2025-03-28 10:31:01 +00:00
Phil Howard
878af7c31f
PicoGraphics: Add Presto.
2025-03-28 10:31:01 +00:00
Phil Howard
95b6c213dd
PicoVector: Remove (ifdef guard) debug functions.
2025-03-28 10:31:01 +00:00
Phil Howard
089e5df243
PicoVector: Refactor text multiline support.
...
Drop dependence on null terminated strings, and for a final linebreak.
Bound all text processing using the text length.
2025-03-28 10:31:01 +00:00
Phil Howard
983370f916
PicoGraphics: RGB565 skip layers if not enabled.
2025-03-28 10:31:01 +00:00
Phil Howard
09dbfa1e64
PicoVector: Improve text rendering and control.
2025-03-28 10:31:01 +00:00
Phil Howard
086b9d0135
PicoGraphics: Add layer support to PicoVector tile renderer.
2025-03-28 10:31:01 +00:00
Phil Howard
daa6603d1b
PicoVector: Big refactor, ppp primitives.
...
* Remove Polygon types in favour of primitives .circle, .rectangle etc
* Add a new Transform type for building up transformation matrices
* Add support to set/clear transform on drawing
2025-03-28 10:31:01 +00:00
Phil Howard
f0a09659f5
PicoVector: Update C++ examples.
2025-03-28 10:31:01 +00:00
Phil Howard
71bcc9d62c
PicoVector: Rewrite around new linked-lists poly.
2025-03-28 10:31:01 +00:00
Phil Howard
dd7d6262df
PicoVector: Use tile renderer for all pens.
2025-03-28 10:31:01 +00:00
Phil Howard
d39516f9e1
PicoVector: Support float types in MicroPython bindings.
2025-03-28 10:31:01 +00:00
Phil Howard
fa20fec507
PicoVector: Remove malloc from MicroPython bindings.
2025-03-28 10:31:01 +00:00
Phil Howard
177e5e8762
PicoGraphics: Add get_clip.
2025-03-28 10:31:01 +00:00
Phil Howard
79a33d5a42
PicoVector: Fix x16 anti-aliasing.
2025-03-28 10:31:01 +00:00
Phil Howard
7bc6956dd8
PicoGraphics: Add RGB565 alpha blending support.
2025-03-28 10:31:01 +00:00
Phil Howard
df9aeb8abb
PicoVector: Remove alright_fonts.cpp from cmake.
2025-03-28 10:31:01 +00:00
Phil Howard
3add0024f6
PicoVector: C++ basic bringup.
2025-03-28 10:31:01 +00:00
Phil Howard
0da5eda410
PicoVector: render text that doesn't end with a linebreak.
2025-03-28 10:31:01 +00:00
Phil Howard
9879e6d602
PicoVector: Fix out of bounds drawing.
...
pretty-poly.h is not giving us fully clipped rectangles, so revert to the
slower bounds checked pixel for now.
2025-03-28 10:31:01 +00:00
Phil Howard
2fc45d0737
PicoVector: fix pointer arithmatic in af_load_font_file.
...
Pointers were being incremented as if they were bytes, rather than larger
containers.
2025-03-28 10:31:01 +00:00
Phil Howard
a415261cc9
PicoVector: Break things until they work.
2025-03-28 10:31:01 +00:00
Phil Howard
3d6ac818a1
PicoVector: alright-fonts bringup.
2025-03-28 10:31:01 +00:00
Phil Howard
62e45ff8a8
PicoVector: Swap rotate translation order.
2025-03-28 10:31:01 +00:00
Phil Howard
4787460476
PicoVector: Vendor pretty-poly and tweak rotation.
2025-03-28 10:31:01 +00:00
Phil Howard
2a25cfea43
PicoVector: Suppress errors.
...
Ignore sign compare and narrowing conversion errors in pretty-poly.h.
2025-03-28 10:31:01 +00:00
Phil Howard
42d7c71a38
PicoVector: Rewrite MicroPython bindings.
2025-03-28 10:31:01 +00:00
Phil Howard
3de74ad5e6
PicoVector: Rewrite around new C pretty-poly.h.
2025-03-28 10:31:01 +00:00
Phil Howard
51b00c18e9
PicoGraphics: Support multiple layers in more types.
2025-03-28 10:31:01 +00:00
Phil Howard
e46fec7902
PicoGraphics: Layers.
...
Add preliminary support for multiple layered drawing surfaces.
Allows, for example, static content to be loaded into one layer and
remain unmodified while the above layer contains animations.
Particularly useful for drawing PNG or JPEG UI elements which are
then overdrawn with text or animated elements, without paying the
cost of loading/decoding every frame.
2025-03-28 10:31:01 +00:00
Hel Gibbons
575e3a17bc
Merge pull request #1062 from pimoroni/examples/microdot
...
Examples: update Unicorn Paint for microdot 2.x
2025-03-11 09:51:37 +00:00
Hel Gibbons
054fca0d79
compatibility changes for microdot 2.x
2025-03-10 15:15:14 +00:00
Philip Howard
e890afb03b
Merge pull request #1061 from pimoroni/patch/stellar-paint
...
compatibility changes for use with microdot 2.x
2025-03-10 11:39:03 +00:00
thirdr
53e5864101
compatibility changes for use with microdot 2.x
2025-03-03 09:40:42 +00:00
Philip Howard
2eb97532ea
Merge pull request #1057 from pimoroni/patch-scd4x-calibration
...
SCD4X: Add calibration commands for #1056 .
2025-02-24 13:03:39 +00:00
Philip Howard
0658719ff6
Merge pull request #1058 from pimoroni/patch-pico-sdk-211
...
CI: Bump to Pico SDK 2.1.1.
2025-02-24 13:02:06 +00:00
Phil Howard
5297f9aa55
CI: Bump to Pico SDK 2.1.1.
2025-02-21 10:39:38 +00:00
Phil Howard
cfa3d1d90d
SCD4X: Add calibration commands for #1056 .
2025-02-21 10:29:38 +00:00
Philip Howard
4e20ac1894
Merge pull request #1055 from Zyuangeorge/correct-as7343-demo-print
...
Correct the output of the as7343 demo
2025-02-06 12:49:42 +00:00
Zyuangeorge
9866736ffd
correct the output of the as7343 demo
2025-02-04 13:00:15 +00:00
Philip Howard
aa1e3f18b7
Merge pull request #1029 from pimoroni/feature/scd4x-low-power
...
SCD4X: API bump and possible low power support
2025-01-15 11:59:00 +00:00
Philip Howard
f7c45a9983
Merge pull request #1042 from jaeheonshim-forks/inky-blocking-fix
...
Fix: Properly implement non-blocking update functions for the Inky Frame
2025-01-15 11:33:56 +00:00
Philip Howard
d014b289d6
Merge pull request #1049 from pimoroni/patch-pixel-span
...
PicoGraphics: Fix overflow bug in p4 pixel span.
2025-01-15 09:01:45 +00:00
Phil Howard
19689b4414
PicoGraphics: Fix overflow bug in p4 pixel span.
...
A properly aligned zero length pixel span would cause a single
pixel to be drawn, the length overflowed and a subsequent
2GB of pixels drawn by the main loop.
Add a simple check to discard any attempt to draw zero length spans.
Fixes pimoroni/pimoroni-pico-rp2350#32
2025-01-14 12:16:12 +00:00
Philip Howard
a90abba9db
Merge pull request #1046 from pimoroni/docs/readme-rp2350-warning
...
README: Added link to RP2350 repo
2025-01-08 11:48:29 +00:00
Philip Howard
324b15ae2f
Merge pull request #1043 from isaac-webb/main
...
Fix Button class on Pico 2W
2025-01-08 11:48:10 +00:00