Currently, if we run the sync() funciton in an endless loop, the leds light up in same "random" fashion.
This is because we do not wait those 80us between sending out the signals.
Adafruit does some busy wait for 300us to guarantee proper led setting.
Same logic should be applied here.
The SK6812 controller awaits a ~80μs low signal between data transmission. Taken from: https://cdn-shop.adafruit.com/product-files/1138/SK6812+LED+datasheet+.pdf
Currently, if we run the sync() funciton in an endless loop, the leds light up in same "random" fashion. This is because we do not wait those 80us between sending out the signals.
Adafruit does some busy wait for 300us to guarantee proper led setting. Same logic should be applied here.