Philip Howard
Philip Howard
Bit of hex editing the data length to confirm my suspicion-
Here's how a Wav handling class might look if it kept track of bytes remaining and skipped over the metadata at the end- ```python # SPDX-FileCopyrightText: 2023 Christopher Parrott for...
I don't recall if we quite tackled *all* the bugs here, but I've merged these with the expectation that they'll get more visibility in the main codebase than here. Thanks...
Judging by the before and after of Tiny 2040 (8MB) the ulab module - as configured - weighs in at about 92k.
Having a long, hard think about how much appetite I have to babysit Yet Another Patch 😆
The Python library just scales the individual colour channels by the brightness value, so you could do something like this: ``` brightness = 0.5 matrix.set_pixel(x, y, int(r * brightness), int(g...
Most of our Python modules are implemented in C++ so it's frustratingly complex. The main thrust of the RGB 5x5 set_pixel is here: https://github.com/pimoroni/pimoroni-pico/blob/6eb0f90e53e503790150028f2cf181961f589619/libraries/breakout_rgbmatrix5x5/breakout_rgbmatrix5x5.cpp#L27-L36 Which calls: https://github.com/pimoroni/pimoroni-pico/blob/6eb0f90e53e503790150028f2cf181961f589619/drivers/is31fl3731/is31fl3731.cpp#L83-L85 So ideally here...
> flashed it with the Pimoroni Pico Micropython and finally I have both devices working nicely As contrived and troublesome as our libraries-included MicroPython build is, it's nice when it...
Happy to test a PR if you make one, I think I've got most of our ST7789 based displays handy for testing- albeit the PIO for the parallel bus only...
This is something that PicoVector (a vector graphics library for Pico) would be best at and, in theory, yes it could. Though they would be basic - FontAwesome-like - single...