pimoroni-pico/micropython
Phil Howard 5abdad05a8 Fix MicroPython alloc'd bytearray support in APA102 driver
A bytearray allocated in Python would point to uninitialised bytes, missing the SOF byte and brightness for APA102 pixels.

Add a blunt loop over the MicroPython buffer, calling "brightness" for each RGB element to ensure the SOF byte and brightness are initialized.
2021-08-25 22:00:12 +01:00
..
examples Added C++ port of accelerometer example 2021-08-25 18:12:10 +01:00
modules Fix MicroPython alloc'd bytearray support in APA102 driver 2021-08-25 22:00:12 +01:00
modules_py Fix for "Changed rgb to use full pwm range" 2021-08-19 12:58:13 +01:00