Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing wait time between sending out data stream #3

Open
whati001 opened this issue Nov 26, 2021 · 1 comment
Open

Missing wait time between sending out data stream #3

whati001 opened this issue Nov 26, 2021 · 1 comment

Comments

@whati001
Copy link

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.

@ChrisvV1
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants