Hi
Here is a Simple fcfx file I made just to show the bug, this compiles ok on V7 but not on V9 maybe we can fix this .
WS2812 Build Error ( STM32F407ZG )
-
- Posts: 186
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 7:23 pm
- Has thanked: 54 times
- Been thanked: 26 times
WS2812 Build Error ( STM32F407ZG )
- Attachments
-
- Flowcode1.msg.txt
- (84.57 KiB) Downloaded 786 times
-
- Flowcode1.fcfx
- (9.64 KiB) Downloaded 675 times
-
- Matrix Staff
- Posts: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: WS2812 Build Error ( STM32F407ZG )
Hello,
Thanks for letting us know, hopefully should be fixed for you now.
Thanks for letting us know, hopefully should be fixed for you now.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: WS2812 Build Error ( STM32F407ZG )
Hello
I am happy to read that the compilation is done correctly but my question is: is the led lighting correctly?
As quoted in the FlowcodeV7 forum: https://www.matrixtsl.com/mmforums/view ... 76&t=22045
With an ECIO40 and an ECIO40P16, compilation is performed without warning.
With a 16F887A clocked at 19.6608MHz, the same warning reappears :
Is it a problem of frequency of work?
Bruno
I am happy to read that the compilation is done correctly but my question is: is the led lighting correctly?
As quoted in the FlowcodeV7 forum: https://www.matrixtsl.com/mmforums/view ... 76&t=22045
With an ECIO40 and an ECIO40P16, compilation is performed without warning.
With a 16F887A clocked at 19.6608MHz, the same warning reappears :
With these 3 targets, the high and low state times for the two logic states do not comply with the WS2812B protocol and the Led lights up in white.#warning WS2811 Timings are less than 10 instructions, timing may be incorrect at the current clock speed
^ (162) #warning: WS2811 Timings are less than 10 instructions, timing may be incorrect at the current clock speed (warning)
Is it a problem of frequency of work?
Bruno
Re: WS2812 Build Error ( STM32F407ZG )
Hi , on V9 it is compiling and working ok , though I once notice that yes at first it lights up white then after the second refresh it starts to work correctly , could be that there are still bugs
Last edited by Alan_37 on Sun Dec 13, 2020 4:24 pm, edited 1 time in total.
Re: WS2812 Build Error ( STM32F407ZG )
Thank to you Alan,
Did you check the timing on the command output with multiple leds in cascade or a RGB LED strip? I am curious to know the result if you have the material ...
Bruno
Did you check the timing on the command output with multiple leds in cascade or a RGB LED strip? I am curious to know the result if you have the material ...
Bruno
-
- Matrix Staff
- Posts: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: WS2812 Build Error ( STM32F407ZG )
I beleive should be fixed in v8 now. Do you need it for v7 also?
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel