Version 1.19.15
Cosmic Calamity
Version 1.19.15 mostly adds support for a couple of new and shiny things but we've also taken the opportunity to make improvements to some existing products-
Galactic Unicorn
Galactic Unicorn firmware now includes numpy, and we've included a directory full of examples to show you how you can use it for all manner of dynamic effects and crude simulations.
To make these effects a little easier to produce we've also added support for palette-mode pens to Galactic, most of the examples use PEN_P8
which means every pixel on Galactic Unicorn is represented by one 8-bit number that provides an index into a palette of your choice.
Inky Frame
You can now use create_pen(r, g, b)
with Inky Frame and PicoGraphics will try its best to dither your drawing to the 7 colours that Inky is capable of producing. This works best on large blocks of colour such as backgrounds or chunky text.
You can also use dither=False
in JPEG decoding, causing JPEG files to be quantized to Inky's 7 colours rather than dithered. This is useful if you're using an image as a background for your project, or just want the cool posterisation-style effect.
PicoGraphics
PicoGraphics has a new create_pen_hsv(h, s, v)
method, which replaces all of the copy-pasted hsv_to_rgb
functions in our various examples with a faster, tidier implementation. Creating hsv pens works in all pen modes, and will either return a palette index or an appropriately converted RGB colour for you to use with set_pen
as normal.
No Bluetooth, Yet.
While this is the first release built against Pico SDK 1.5.0, the new Bluetooth functionality is not yet available in MicroPython.
For a demonstration of Bluetooth doing something on Galactic/Cosmic see: https://github.com/Gadgetoid/galactic-bluetooth-audio/
What's Changed
- CI: Upload Badger 2040 W examples .uf2 to release files. by @Gadgetoid in #670
- some minor docs tidying by @helgibbons in #671
- CI: Bump MicroPython to latest commit post Pico SDK 1.5.0 bump. by @Gadgetoid in #672
- Few more Interstate examples by @helgibbons in #648
- Update to Badger 2040 W getting started by @Zoobdude in #673
- Support for Inky Frame 7.3" (using direct pen into PSRAM framebuffer) by @Gadgetoid in #663
- Cosmic by @ageeandakeyboard in #641
- CI: Don't include debug .elf files in artifacts. by @Gadgetoid in #677
- Cosmic Unicorn: Launch Examples. by @Gadgetoid in #676
- Update function names in readme by @Zoobdude in #679
- Patch: fixed error caused by missing secrets.py by @thirdr in #678
- List index out of range fix, remove default QR message if text files are available and file housekeeping by @SimonShirley in #658
- Added a pico display 2.0 Mandelbrot set example. by @Gadgetoid in #680
- Inky 7.3: C++ library and JPEG example compatibility. by @Gadgetoid in #682
- Inky 7.3: Support dithering of arbitrary colours. by @Gadgetoid in #685
- fixed example for automation2040wmini by @rabid-inventor in #533
- Driver for the mlx90640 thermal camera by @Gadgetoid in #225
- PicoGraphics: Include dependencies if necessary. by @Gadgetoid in #686
- CI: Separate CCache cache for Pico/PicoW. by @Gadgetoid in #687
- added in the wifi examples from another branch by @ageeandakeyboard in #683
- Cosmic Unicorn: Port paint example. by @Gadgetoid in #694
- Cosmic: tidy examples and docs by @helgibbons in #696
- Cosmic Unicorn: Eighties super computer in numpy/ulab. by @Gadgetoid in #697
- PicoGraphics: correct hsv pen reference by @helgibbons in #699
- CheerLights example for the Galactic Unicorn by @Corteil in #546
- Launcher for Inky Frame 7.3" by @thirdr in #695
- Galactic: add CO2 breakout example by @helgibbons in #700
Full Changelog: v1.19.14...v1.19.15
List of changes to MicroPython since Pimoroni Pico release v1.19.14: micropython/micropython@35524a6...294098d