Page 1 of 1

Error Code when compiling

Posted: Mon Sep 16, 2013 11:11 pm
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

Re: Error Code when compiling

Posted: Mon Sep 16, 2013 11:24 pm
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.

Re: Error Code when compiling

Posted: Mon Sep 16, 2013 11:46 pm
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

Re: Error Code when compiling

Posted: Tue Sep 17, 2013 12:07 am
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.

Re: Error Code when compiling

Posted: Tue Sep 17, 2013 12:32 am
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

Re: Error Code when compiling

Posted: Tue Sep 17, 2013 9:45 am
by medelec35
Your welcome John.
So long as it all helps.
Thanks for the update

Martin