WS2812 simulation and compilation errors

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
niedian
Posts: 112
http://meble-kuchenne.info.pl
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

Flowcode v10 WS2812 simulation and compilation errors

Post by niedian »

Hello
During the simulation of WS2812, the lights on the 3D panel were on this time and then off again in the next simulation, which was irregular and unstable.
During compilation, an error occurs as shown in the figure.
Please check it out.
Acknowledgments!
Attachments
3.jpg
3.jpg (120.23 KiB) Viewed 62 times
2.jpg
2.jpg (79.81 KiB) Viewed 62 times
1.jpg
1.jpg (86.67 KiB) Viewed 62 times

niedian
Posts: 112
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

Re: WS2812 simulation and compilation errors

Post by niedian »

additional figure
Attachments
6.jpg
6.jpg (658.48 KiB) Viewed 61 times
5.jpg
5.jpg (54.53 KiB) Viewed 61 times
4.jpg
4.jpg (55.58 KiB) Viewed 61 times

medelec35
Matrix Staff
Posts: 2125
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 659 times
Been thanked: 716 times

Re: WS2812 simulation and compilation errors

Post by medelec35 »

Hello.
I have fixed the compile errors ,so hopefully your project will now compile.

If yoy want to test the updated component, browse to this location using file explorer , it's hidden by default so just paste the link into your address bar.

Code: Select all

%ProgramData%\MatrixTSL\FlowcodeV10\Components
Place the attached component.

If Flowcode is already open, then you will need to reload your project for the new component to work
If you run any component updates, then the component you added will be overwritten, so it will stop working again (unless the component update has been pushed).

Can you let me know how you get on please.


The only thing I can see when when repeated stop/start simulation are the LEDs starting of bright then dimming to required brightness.
To me that looks normal.
Attachments
LED_WS2811.fcpx
(18.09 KiB) Downloaded 5 times
Martin

niedian
Posts: 112
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

Re: WS2812 simulation and compilation errors

Post by niedian »

Hello, thank you so much
Can compile normally now
It also runs normally on ESP32
However, occasional abnormalities still occur in 3D simulations
Thank you again, you're amazing
Attachments
Video_2025-10-13_163851.rar
(3.58 MiB) Downloaded 5 times
9.jpg
9.jpg (82.36 KiB) Viewed 25 times
8.jpg
8.jpg (688.76 KiB) Viewed 25 times

niedian
Posts: 112
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

Re: WS2812 simulation and compilation errors

Post by niedian »

The current prompt is to upgrade, but I dare not upgrade yet. Once I upgrade, it won't work again, smiling face

Post Reply