Hi jonny,JonnyW wrote:Hi Jordy.
That error may be because the pins are not connected.
The properties behave like pre-processor when converted to C. This means if you have a property called 'connection' and it is assigned to pin A 5 then what Flowcode does is take the line:
connection = 1
And replace it with:
$PORTA.5 = 1
However, if the pin is not connected Flowcode can not replace it with anything meaningful, so it sticks a zero in there instead:
0 = 1
Which is a syntax error. This is fudged during simulation and calculation entry so you can enter calculations even with unconnected pins.
If all your pins are connected OK this should work OK. If not, Flowcode should throw a warning (which you can disable via an event in each component). If the pins are connected OK and Flowcode is still producing this error you may have to PM me the source (in confidence of course) and I can see if there is an obscure bug we have not seen yet.
Jonny
I have found the fault myself it was the following:
I have checked the third check box with the pull-down arrow.
After I had unchecked this it compiled fine.
As for the outputs I disable the outputs of which the timers are not enabled. So this will hopefully remove the changes of wrong errors from Flowcode.
If not we need to figure out another solution.
Anyway thanks again for your quick reply.
Regards Jordy