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

Maybe an improvement in example code. #362

Open
zhshuai1 opened this issue Jul 28, 2023 · 0 comments
Open

Maybe an improvement in example code. #362

zhshuai1 opened this issue Jul 28, 2023 · 0 comments

Comments

@zhshuai1
Copy link

https://github.com/adafruit/Adafruit_NeoPixel/blame/fe882b84951bed066764f9350e600a2ec2aa5a9e/examples/simple/simple.ino#L48
It seems that the pixels.show() and delay() line should be outside of the for loop? Or there will be obvious twinkle and low refresh frequency. I tried a version in which I moved the two line outside of the for loop. It works fine.
If this is the case, I could create one mr to fix this.

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

1 participant