Wykres commitów

1495 Commity (patch-img-open_file)

Autor SHA1 Wiadomość Data
Phil Howard a41aa7954d PNG/JPEGDEC: Use MP_ROM_QSTR. 2025-01-23 14:08:24 +00:00
Phil Howard fc42c6abe7 Tufty 2040: Update spectrometer vector example. 2025-01-16 16:32:34 +00:00
Phil Howard 0df3095b06 PicoVector: Fix bug in polygon iterator.
list(Polygon) should return a list of points, but crashed with non-empty polygons.

We were advancing to the next path and then retriving an invalid point count for building the tuple.

Save the point count before advancing to the next path.
2025-01-16 16:32:34 +00:00
Phil Howard 1ae18141ef Tufty 2040: Update polygons example. 2025-01-16 16:32:34 +00:00
Phil Howard 3a0b049447 PicoVector: Add arbitrary matrix transform. 2025-01-16 16:32:34 +00:00
Phil Howard 09a06bd0a2 PicoVector: Fix bug in Polygon.regular. 2025-01-16 16:32:34 +00:00
Phil Howard 796e7cf338 PicoGraphics: Check for out of range layers. 2025-01-16 16:32:34 +00:00
Phil Howard ff1917c2f6 PicoVector: MPY bindings for line and arc. 2025-01-16 16:32:34 +00:00
Phil Howard 44ffeeed3f Hub75: Performance improvements and stacked mode.
Inline and simplify the pixel flip for a 13.2ms -> 3.8ms speedup at 128x128 on RP2350 stock.

Drop RGB565 mode.

Add the ability to stack some panels, eg: 2x128x64 in a 128x127 configuration.
2025-01-16 16:32:34 +00:00
Phil Howard b71324bbd4 PicoGraphics/Hub75: Add support for 128x128. 2025-01-16 16:32:34 +00:00
Phil Howard c9c7f1d634 PicoGraphics: Don't force Presto to RGB565. 2025-01-16 16:32:34 +00:00
Mike Bell b9f11a3b1d PicoGraphics: Presto full res option. 2025-01-16 16:32:34 +00:00
Mike Bell 6942bc7329 PicoVector: Add optional text max width and max height. 2025-01-16 16:32:34 +00:00
Phil Howard 234ea41f40 PicoVector: Runtime buffer allocation. 2025-01-16 16:32:34 +00:00
Phil Howard 25f30fba00 PicoGraphics: Non-blocking Inky update for #936. 2025-01-16 16:32:34 +00:00
Phil Howard b69ad9b1b3 PicoGraphics: Add Presto. 2025-01-16 16:32:34 +00:00
Phil Howard e04e6efea6 PicoVector: Remove (ifdef guard) debug functions. 2025-01-16 16:32:34 +00:00
Phil Howard 230d9facab 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-01-16 16:32:34 +00:00
Phil Howard 9989135926 PicoVector: Improve text rendering and control. 2025-01-16 16:32:34 +00:00
Phil Howard d4e0d660b9 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-01-16 16:32:34 +00:00
Phil Howard 34cd133cd1 PicoVector: Rewrite around new linked-lists poly. 2025-01-16 16:32:34 +00:00
Phil Howard 5c03d8e30a PicoVector: Use tile renderer for all pens. 2025-01-16 16:32:34 +00:00
Phil Howard 80c52183fc PicoVector: Support float types in MicroPython bindings. 2025-01-16 16:32:34 +00:00
Phil Howard 8212fb715b PicoVector: Remove malloc from MicroPython bindings. 2025-01-16 16:32:34 +00:00
Phil Howard d6862fd49d PicoGraphics: Add get_clip. 2025-01-16 16:32:34 +00:00
Phil Howard 5ce870fd3f PicoVector: Remove alright_fonts.cpp from cmake. 2025-01-16 16:32:34 +00:00
Phil Howard 29ee929d14 PicoVector: Break things until they work. 2025-01-16 16:32:34 +00:00
Phil Howard dc251a42bf PicoVector: alright-fonts bringup. 2025-01-16 16:32:34 +00:00
Phil Howard 6a8a7c4a0c PicoVector: Suppress errors.
Ignore sign compare and narrowing conversion errors in pretty-poly.h.
2025-01-16 16:32:34 +00:00
Phil Howard d479923133 PicoVector: Rewrite MicroPython bindings. 2025-01-16 16:32:34 +00:00
Phil Howard 3a9cdc8f39 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-01-16 16:32:34 +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
Isaac Webb 9883943dd0 Add pin mode definition to fix Button class on Pico 2 2024-12-26 17:08:15 -05:00
Hel Gibbons e8260bf521
Merge pull request #1041 from pimoroni/examples/rp2350-display-pack
Display Pack: Make button example work with RP2350 boards
2024-12-24 13:50:07 +00:00
Hel Gibbons 77e6a9db6d update display pack button example to work with RP2350 boards 2024-12-24 12:39:29 +00:00
Phil Howard cae1b1381d Inky Frame: Remove MicroPython build and examples.
Inky Frame has a new home at: https://github.com/pimoroni/inky-frame
2024-12-03 11:49:28 +00:00
Phil Howard 2b7b9efac7 Wakeup: Remove runtime init hook. 2024-12-03 11:36:36 +00:00
Phil Howard 030b59c0d1 pcf85063a: Set PICO_INCLUDE_RTC_DATETIME for MicroPython. 2024-12-03 11:36:24 +00:00
Phil Howard 185bea2065 SCD4X: Support low power periodic measurements. 2024-11-18 10:58:16 +00:00
Phil Howard b79814cae3 SCD4X: scd4x_get_data_ready_status to scd4x_get_data_ready_flag.
The function name and behaviour has changed, moving the bitwise check
into the API and making it an implementation detail.
2024-11-18 10:43:00 +00:00
Philip Howard 1495805d2b
Merge pull request #947 from pimoroni/test/network-ppp
PPP-enabled Pico build.
2024-10-31 12:19:50 +00:00
Philip Howard fd4b2922e4
Merge pull request #957 from pimoroni/plasma-stick-brightness
add brightness control to default Plasma Stick W example
2024-10-31 12:13:53 +00:00
Philip Howard b8f4bd3f67
Merge pull request #966 from pimoroni/examples-fix-adc
Examples: Update ADC()
2024-10-31 12:13:24 +00:00
Philip Howard 9c7ecdc438
Merge pull request #1022 from SteveClement/examples_placecats
fix: [url] placekitten.com is down, someone created a drop in replacement, placecats.com
2024-10-31 11:38:30 +00:00
Phil Howard ef936ba907 RPI_PICO_PPP: Lint lte module. 2024-10-31 11:19:22 +00:00
Phil Howard a1be7a6327 RPI_PICO_PPP: Add lte module. 2024-10-31 11:19:22 +00:00
Phil Howard a05a225262 Wakeup: Move wakeup pin assert and latch out of patches. 2024-10-31 11:19:22 +00:00
Phil Howard 6cfcd80037 PPP: This old chestnut. 2024-10-31 11:19:22 +00:00
Phil Howard 81455d129d RPI_PICO_PPP: Tweak flash/fw alloc to fit PPP support. 2024-10-31 11:19:22 +00:00
Phil Howard d24c2225ca CI: PPP-enabled Pico build. 2024-10-31 11:19:11 +00:00