CircuitPython LED animations 10x faster with ulab

Created: Last edited:
https://todbot.com/blog/2022/10/21/speed-up-circuitpython-led-animations-10x/

LED animations in CircuitPython can be 10x faster using ulab. A firework simulation shows 40ms to 4ms per frame with 256 LEDs. Using ulab arrays reduces loop overhead and speeds up operations.

#circuitpython #ulab #leds #rp2040

Views: 6

Categories: Projects & Resources [c5]

Manage / Login

The Bitcoin-Powered Internet Bulletin Board