Flowcode V9 WS2812 Bug

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Flowcode V9 WS2812 Bug

Post by Alan_37 »

Hi

WS2812 not compiling, just a very simple code INIT and Set brightnes.


Flowcode1.o: In function `FCD_06621_LED_WS2811__Refresh':
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x32): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x4a): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x6e): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x84): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0xbc): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0xd4): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0xf8): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x10e): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x148): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x160): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x182): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x198): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
collect2.exe: error: ld returned 1 exit status
Error(s) in build
Attachments
Flowcode1.fcfx
(8.28 KiB) Downloaded 133 times

mnf
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed May 31, 2017 11:57 am
Has thanked: 70 times
Been thanked: 439 times
Contact:

Re: Flowcode V9 WS2812 Bug

Post by mnf »

Hi Alan,

What target are you aiming for?

As downloaded (and nothing changed apart from connection pin) (so ARM ....) - all compiled well apart from a (rather oddly) - can't open avr/io.h error (which is an AVR header file - so not really expected?)

Changing target to Arduino Nano and compiled AOK though.

Martin

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: Flowcode V9 WS2812 Bug

Post by Alan_37 »

Target stm32f407zG With flowcode 9

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Flowcode V9 WS2812 Bug

Post by jgu1 »

Hi Martin!

Have you seen that the st7789 display is on the componentlist :wink: Have you test it?

I will perform a test tomorrow.

Br Jorgen

mnf
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed May 31, 2017 11:57 am
Has thanked: 70 times
Been thanked: 439 times
Contact:

Re: Flowcode V9 WS2812 Bug

Post by mnf »

Hi Jorgen,

Not yet - but will try.

Martin

Post Reply