Flowcode components and user interrupts, add a warning?
Posted: Wed Mar 16, 2016 4:34 pm
-not sure if bug or feature request, i remeber that v5 had some kind of warnings about multi timer declarations?-
Flowcode doesn't warn you in any way about using same timer as one component macro...
I had to update my older code that uses CAN bus to control stuff, to send some messages about its state to RS232. Had to do very rough debug until i found that my code didnt like using timer2 and RS232 component at same time.
There should be a warning when enabling timer interrupt in code to call user macro, that *this(RS232)* component already is using it. Compiler messages or flowcode itself?
Here is some gibberish i got from serial when i was using TMR2... and the result when i did change user interrupt to the TMR 6... The code that im using to create this "problem" is not shareable atm.
btw: sourceboost 7.30 has improved the speed to 3 times more faster if checking their site...
Flowcode doesn't warn you in any way about using same timer as one component macro...
I had to update my older code that uses CAN bus to control stuff, to send some messages about its state to RS232. Had to do very rough debug until i found that my code didnt like using timer2 and RS232 component at same time.
There should be a warning when enabling timer interrupt in code to call user macro, that *this(RS232)* component already is using it. Compiler messages or flowcode itself?
Here is some gibberish i got from serial when i was using TMR2... and the result when i did change user interrupt to the TMR 6... The code that im using to create this "problem" is not shareable atm.
btw: sourceboost 7.30 has improved the speed to 3 times more faster if checking their site...