Arduino_SK6812
Arduino_SK6812 copied to clipboard
Missing wait time between sending out data stream
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.
Right now I'm making a new version where these kind of problems are fixed and I'm making some nice extra features that make it easier to use.