How did you implement "sleep"? For timing the effects?
I see a 'get_precise_time' command. I guess you could poll that, if you aren't worried about power use. (LEDs using far more power than your CPU.)
I see a 'get_precise_time' command. I guess you could poll that, if you aren't worried about power use. (LEDs using far more power than your CPU.)
(And yes, the LEDs use way more power than the CPU here)