WS2812B

Moderator: Benj

Post Reply
Marko_2001
Posts: 10
Joined: Mon Nov 30, 2020 11:51 pm
Contact:

WS2812B

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: WS2812B

Post by Benj »

Hello,

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

Marko_2001
Posts: 10
Joined: Mon Nov 30, 2020 11:51 pm
Contact:

Re: WS2812B

Post 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.
Attachments
Flowcode1.fcfx
(13.01 KiB) Downloaded 173 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: WS2812B

Post 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.

Marko_2001
Posts: 10
Joined: Mon Nov 30, 2020 11:51 pm
Contact:

Re: WS2812B

Post 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.

Marko_2001
Posts: 10
Joined: Mon Nov 30, 2020 11:51 pm
Contact:

Re: WS2812B

Post by Marko_2001 »

hi

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

Post Reply