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

NeoPixels are operating strange every second update... #3

Open
joachimhs opened this issue Apr 19, 2020 · 0 comments
Open

NeoPixels are operating strange every second update... #3

joachimhs opened this issue Apr 19, 2020 · 0 comments

Comments

@joachimhs
Copy link

Hello,

I am trying to get this to work with micro:bit, but it is behaving strange. The first time I update the pixels, they all show as they are supposed to, but every second time all of the pixels light up yellow-ish.

I have tried to play around with the number of NOPS, but that does not seem to work.

This is the code I am using towards the NeoPixels:

`for (uint16_t lampe = 0; lampe < 64; lampe++) {
neopixel_set_color(&m_strip, lampe, 10, 0, 0);
neopixel_show(&m_strip);
uBit.sleep(200);

}`
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