Skip to content

Version 1.19.15

Compare
Choose a tag to compare
@Gadgetoid Gadgetoid released this 02 Mar 15:11
· 591 commits to main since this release
6be46dd

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

Full Changelog: v1.19.14...v1.19.15

List of changes to MicroPython since Pimoroni Pico release v1.19.14: micropython/micropython@35524a6...294098d

New Contributors