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
WS2812B
Moderator: Benj
- 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
Hello,
Can we please see your program, my guess is it's something there that is causing the white output.
Can we please see your program, my guess is it's something there that is causing the white output.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 10
- Joined: Mon Nov 30, 2020 11:51 pm
- Contact:
Re: WS2812B
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.
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 181 times
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 10
- Joined: Mon Nov 30, 2020 11:51 pm
- Contact:
Re: WS2812B
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.
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.
-
- Posts: 10
- Joined: Mon Nov 30, 2020 11:51 pm
- Contact: