LupaioliS / Arduino-addressable-RGB-Led-for-DRL-and-Blinkers

Arduino addressable RGB leds that work as DRL and blinkers
MIT License
0 stars 1 forks source link

Find a way to make an animation that fades in or out leds without looping through each led * 255 #9

Open LupaioliS opened 1 year ago

LupaioliS commented 1 year ago

Would be cool to implement something like:

https://github.com/LupaioliS/Arduino-Addressable-RGB-LedDRLs-and-Blinkers/blob/ec9822c496516ae23692753cefa22d72e593265b/main/DRLBlinker.h#L68

Here the code fadeIn the DRL color but would be cool to implement it also for the animation renderer without looping trough each led.

LupaioliS commented 1 year ago

Maybe With https://www.arduino.cc/reference/en/libraries/arduino-timer/ ?