12F675 Won't compile (C code warning!)
Posted: Mon Aug 16, 2010 2:21 pm
After spending many hours trying to get a program containing an interrupt working with no luck. I trimmed the program to its bare bones still no luck, then I found an entry in the forum stating that while the program will not simulate the interrupt but it is there in real life (And it was) proved by building a test rig,but when I went on to add more to the program it stoped compiling altogether with the warning
"Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please revew this carefully. If your flowchart contains no C code or you have thoroughly reviewed the code, contact Technical Support."
The only C code block in the program contained sleep(); which I have used many times before. I removed this but it made no difference,My only thought is that I may have exceeded the capacity of this chip but I find it difficult to judge this aspect of programing, some guidence on this subject would be of help,
A second warning in C code relating to interrupts that I have come across is
"This interrupt has previously been enabled, so the macro <interupt> may never get called"
I congratulate you on a wonderful program! but one does tend to get a Love/Hate relationship with it (in hate mode at the moment). Has the interrupt not simulating problem been sorted?
Any help gratefully received.
"Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please revew this carefully. If your flowchart contains no C code or you have thoroughly reviewed the code, contact Technical Support."
The only C code block in the program contained sleep(); which I have used many times before. I removed this but it made no difference,My only thought is that I may have exceeded the capacity of this chip but I find it difficult to judge this aspect of programing, some guidence on this subject would be of help,
A second warning in C code relating to interrupts that I have come across is
"This interrupt has previously been enabled, so the macro <interupt> may never get called"
I congratulate you on a wonderful program! but one does tend to get a Love/Hate relationship with it (in hate mode at the moment). Has the interrupt not simulating problem been sorted?
Any help gratefully received.