Commit Graph

270 Commits

Author SHA1 Message Date
ZodiusInfuser a25699c73d Initial setup og GU Micropython 2022-10-13 13:25:26 +01:00
jon 5ea389c12a Added support for new RGB888 pen type 2022-10-13 13:25:26 +01:00
jon 678be33b53 Update to use new RGB888 pen type 2022-10-13 13:25:26 +01:00
jon f2c3d15b8e Galactic Unicorn: Playing basic audio samples now works, added rainbow example for photoshoot 2022-10-13 13:25:18 +01:00
jon eaaed2e862 Galactic Unicorn: Examples + features. 2022-10-13 13:24:08 +01:00
jon 5fdd08438f stuff 2022-10-13 13:22:21 +01:00
jon a3d3707284 more stuff 2022-10-13 13:22:21 +01:00
jon 09846ab221 Galactic Unicorn: Initial C++ experimentaion. 2022-10-13 13:21:22 +01:00
jon a322c400f0 Added support for new RGB888 pen type 2022-10-13 13:19:50 +01:00
jon c91c5d6bf4 Update to use new RGB888 pen type 2022-10-13 13:19:50 +01:00
jon a486150470 Playing basic audio samples now works, added rainbow example for photoshoot 2022-10-13 13:19:50 +01:00
jon 63183d28be Lots of features added 2022-10-13 13:19:50 +01:00
jon e50827c412 stuff 2022-10-13 13:19:50 +01:00
jon 210b334fff more stuff 2022-10-13 13:19:50 +01:00
jon 54ad59c77a Rebasing Galactic Unicorn branch to main 2022-10-13 13:19:50 +01:00
Phil Howard 00ca53a30b Inky Frame: Update C++ library to support 4.0" 2022-10-05 09:57:16 +01:00
Phil Howard fc3060b640 PicoGraphics: Simplify RGB565 frame convert.
Rewrite RGB565 frame convert to iterate over pixels by index, and transfer the buffer when it fills.

Avoid using a bitmask so BUF_LEN can be arbitrary.
2022-09-21 11:32:19 +01:00
Phil Howard bb9b5b69d3 PicoGraphics: Fix byte alignment bug in Pen P4.
Fix byte alignment to use the pixel index, rather than just the x-coordinate.

Prevent new rows from being erroneously byte-aligned in displays without an even width (eg: Pico Display portrait).
2022-09-21 11:26:58 +01:00
Mike Bell 7f330d1a04 Pico Graphics: Use fixed size buffer for frame conversion 2022-08-23 23:07:13 +01:00
Mike Bell f341c15fa7 Pico Graphics: Double buffer scanline conversion 2022-08-23 21:48:26 +01:00
jon 4a4c723c89 Fixed set_pen() 2022-07-26 05:10:07 +01:00
jon 2f5e3235e6 Add missing pen type enumeration value 2022-07-26 05:08:12 +01:00
jon 364994fc64 Added missing entry to cmake file 2022-07-26 05:06:06 +01:00
jon 6ab9c8b1c7 Added RGB88 pen type 2022-07-26 04:55:32 +01:00
Philip Howard 5d47ae080c
Merge pull request #453 from pimoroni/patch-automation2040w-doc
Added documentation for Automation 2040W
2022-07-22 14:59:23 +01:00
Phil Howard de3ceac4a5 Pico Scroll/Unicorn: Fix static memory alloc for Pico W.
Pico Scroll and Pico Unicorn were allocating static buffers for gamma and font data respectively.

Make Pico Scroll's `__bitmap` static.

Move Pico Unicorn's three GAMMA tables to one 14-bit table in "pimoroni_common.hpp". Rename "GAMMA" to "GAMMA_8BIT".
2022-07-22 14:15:53 +01:00
ZodiusInfuser 2516a06237 Doc improvements and added C++ doc 2022-07-20 16:12:37 +01:00
ZodiusInfuser ea4d514d57 Doc improvements and added C++ doc 2022-07-20 16:10:37 +01:00
Philip Howard 33b2c3908d
Merge pull request #441 from pimoroni/patch-picographics-docs
PicoGraphics: Update C++ docs.
2022-07-15 13:40:23 +01:00
Philip Howard 3ec9f09174
Merge pull request #426 from pimoroni/library/inky_frame
Inky Frame: Library + C++ Examples.
2022-07-15 13:39:57 +01:00
Phil Howard f8e751ebff PicoGraphics: Fix 3Bit mode dithering for Inky Frame. 2022-07-13 14:30:14 +01:00
Phil Howard 9dfc8a065c PicoGraphics: Update C++ docs. 2022-07-11 15:56:15 +01:00
Pete Favelle 1b36899789 Missed one! 2022-07-09 16:57:35 +01:00
Pete Favelle cba2543d82 Corrected some confusing typos 2022-07-09 16:51:49 +01:00
Phil Howard f85343012a PicoGraphics: Power off added for UC8151. 2022-07-06 14:25:42 +01:00
Phil Howard 6c1556a429 PicoGraphics: 1bit/1bitY dither all drawing operations.
Note: Pen now ranges from 0 (black) to 15 (white). Values between will be dithered ala Badger 2040.
2022-07-06 11:32:56 +01:00
Phil Howard 12866a0b7b PicoGraphics/JPEGDEC: Use PicoGraphics dither. 2022-07-06 10:56:56 +01:00
Phil Howard ac2fa97e96 Inky Frame: Library + C++ Examples. 2022-07-05 09:34:23 +01:00
Philip Howard 9c079bb1e5
Merge pull request #419 from pimoroni/patch-uc8159-3bpp
PicoGraphics/UC8159: 3bit bitplane pen mode.
2022-07-04 11:36:20 +01:00
ZodiusInfuser d9d8f4417a
Libraries and examples for Automation 2040 W (#418)
* Libraries and examples for Automation 2040 W

* Fix for initialisation error
2022-07-01 07:05:37 +01:00
ZodiusInfuser 6f8152df0f Libraries and examples for Inventor 2040 W 2022-06-30 21:30:43 +01:00
Phil Howard cb5f8308a0 PicoGraphics/UC8159: 3bit bitplane pen mode.
Add a 3bit pen mode to save 1/4th the RAM needed for the 600x448 Inky Frame.
2022-06-30 15:25:02 +01:00
Phil Howard eee28a6f94 Bitmap Fonts: Break to newline on \n. 2022-06-29 07:50:18 +01:00
Phil Howard 16aae0b1f2 PicoGraphics: Partial update/speed support. Tidyup. 2022-06-27 17:32:30 +01:00
Phil Howard bb2db8423e JPEGDEC: Add CMake files. 2022-06-24 11:15:44 +01:00
Phil Howard 3007ee8039 PicoGraphics: Only consider used palette entries for dither. 2022-06-24 11:03:29 +01:00
Phil Howard 04d8d66390 UC8151: New DisplayDriver based UC8151 driver.
HACK: Adds PicoGraphics_Pen1BitY to work around the UC8151 weird addressing.

TODO: Replace hack with an in-place transform to UC8151 pixel order from Pen1Bit.
2022-06-23 14:30:36 +01:00
Phil Howard 646bd1a9b0 UC8151: Refactor to uc8151_legacy. 2022-06-23 13:57:25 +01:00
Pete Favelle 80012790ce read_nh3 and read_oxidising now call the correct get_raw_* functions 2022-06-21 15:34:52 +01:00
jon b0a386f240 PicoGraphics: RGB332 use 332->565 flash LUT. 2022-06-17 11:04:09 +01:00