Page 1 of 1

WS2812B

Posted: Sun Dec 13, 2020 4:46 pm
by Marko_2001
Hi,

WS2812B Lights white at first then starts working normally
I am just making it Blink. I am including a small clip below

https://mega.nz/folder/tM1Hia6a#fHkC1LTFQDlfCk4_NxPPTw

Re: WS2812B

Posted: Mon Dec 14, 2020 10:56 am
by Benj
Hello,

Can we please see your program, my guess is it's something there that is causing the white output.

Re: WS2812B

Posted: Mon Dec 14, 2020 11:21 am
by Marko_2001
Hi Benj,

Here it is, I know there is no need for the delays between, and in the first loop I changed to setAllLED's color
I was just experimenting trying to solve the issue.

Re: WS2812B

Posted: Mon Dec 14, 2020 3:03 pm
by Benj
Thanks for the code.

Maybe try a small delay (100ms) before calling the initialise function. Initialise does a refresh I beleive and if the chip isn't running at full speed when it does this then it may clock out incorrect data.

Re: WS2812B

Posted: Mon Dec 14, 2020 3:45 pm
by Marko_2001
Hi Benj

I have put the delay as advised, also noticed there was a component update which I installed, restarted flowcode, and recompiled
but still the same problem.

Re: WS2812B

Posted: Tue Dec 15, 2020 11:47 am
by Marko_2001
hi

Just downloaded V9 and it works perfectly, so the bug is only on V8.