Page 1 of 1

WS2812 simulation and compilation errors

Posted: Mon Oct 13, 2025 1:56 am
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!

Re: WS2812 simulation and compilation errors

Posted: Mon Oct 13, 2025 1:58 am
by niedian
additional figure

Re: WS2812 simulation and compilation errors

Posted: Mon Oct 13, 2025 8:19 am
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.

Re: WS2812 simulation and compilation errors

Posted: Mon Oct 13, 2025 9:51 am
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

Re: WS2812 simulation and compilation errors

Posted: Mon Oct 13, 2025 9:55 am
by niedian
The current prompt is to upgrade, but I dare not upgrade yet. Once I upgrade, it won't work again, smiling face