WS2812 Compiler Error

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

Moderator: Benj

Post Reply
ressi
Posts: 21
Joined: Fri Mar 25, 2016 6:05 pm
Been thanked: 14 times

WS2812 Compiler Error

Post by ressi »

Hello.
Can you Help me with this Problem? I have a 18F46K22 with 64Mhz and have this Error.
I have a Flowcode 7 Pro Lizenz.
Attachments
AnimLightStrip2.fcfx
(9.01 KiB) Downloaded 255 times
Fehler.PNG
(36.52 KiB) Downloaded 568 times

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times

Re: WS2812 Compiler Error

Post by QMESAR »

Hi ;

Try to switch of the extended instruction set as below go build >> Project options >> configuration
:D
Attachments
1.JPG
1.JPG (48.96 KiB) Viewed 4628 times

ressi
Posts: 21
Joined: Fri Mar 25, 2016 6:05 pm
Been thanked: 14 times

Re: WS2812 Compiler Error

Post by ressi »

Hello. Thanke for the tip, the error is gone. The other error is still there, and the program does not work in the PIC. Does the WS2812 work with an 8-bit controller?
Attachments
fehler3.PNG
(58.28 KiB) Downloaded 543 times

User avatar
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: WS2812 Compiler Error

Post by Benj »

Hello,

It should work with an 8-bit PIC running at 64MHz.

There is a speed improvement for the WS2812B component on PIC devices included here which may help allow things to run correctly.

http://www.matrixtsl.com/mmforums/viewt ... 63&t=18209

Let us know how you get on.

ressi
Posts: 21
Joined: Fri Mar 25, 2016 6:05 pm
Been thanked: 14 times

Re: WS2812 Compiler Error

Post by ressi »

Hello. Thank you for the link. After the installation it runs however not quite correctly. I change the LED controller to AP104 - it runs great. THANK YOU.
@Benj: I found the scrolling RGB Message Board, from you.
Can you post the Flowchart? I could learn a lot about text scroll ! https://www.youtube.com/watch?v=mRU2dgJ-EYs
i want to scroll a Text with MAX7219 but i dont know how. With your Flowchart i can learn a lot.
THANKS for HELP

Post Reply