Error Code when compiling

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

Moderator: Benj

Post Reply
jbs4wd
Posts: 46
Joined: Thu Dec 03, 2009 7:29 am
Has thanked: 4 times
Contact:

Error Code when compiling

Post by jbs4wd »

Hi, am having trouble compiling.
First up is that I cant get past number of syntax errors while having LED array on either of the panels.
Second is When the LED array has been removed, I get an ERROR CODE 1 when compiling.

Any ideas please?

Cheers
JOHN

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Error Code when compiling

Post by medelec35 »

Hi John,
I have reported the array issue here:
http://www.matrixmultimedia.com/mmforum ... 55&t=12900
We will not know whats causing error 1 until you post your flowchart that's causing the error in question.

I did have an error -1 when I had got pickit2 settings wrong, but that has now been corrected.
Martin

jbs4wd
Posts: 46
Joined: Thu Dec 03, 2009 7:29 am
Has thanked: 4 times
Contact:

Re: Error Code when compiling

Post by jbs4wd »

OK thanks
I know the prob will be simple, here is my file if you want to check it out.
What was the pic2 issue?

John
Attachments
test 4X4.fcfx
(62.72 KiB) Downloaded 268 times

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Error Code when compiling

Post by medelec35 »

Hi John,
You have two issues with your flowchart.
1: In the outlined component its expecting a string (since its a print string command):
Issue.png
(88.63 KiB) Downloaded 2518 times
Instead of a string you placed a float variable.

2) with the use of floats etc you have exceeded the storage capacity of target device.
Floats should be avoided with 8bit pics if at all possible.
Martin

jbs4wd
Posts: 46
Joined: Thu Dec 03, 2009 7:29 am
Has thanked: 4 times
Contact:

Re: Error Code when compiling

Post by jbs4wd »

OOPss!!! Yep I see now, and I forgot about the float issue. Working on too many things at once.
Thank you heaps

JOHN

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Error Code when compiling

Post by medelec35 »

Your welcome John.
So long as it all helps.
Thanks for the update

Martin
Martin

Post Reply