Hi!
I'm trying to use the timer interrupt (toflag) by writing 'settimer X' in the Programming Editor. X is a random number, e.g. 1000.
This is where all goes wrong, because the Programming Editor says:
settimer 1000
^
Error: Syntax error in this line!
What's the problem?
I've set the interrupt active at the beginning of my code by writing:
setintflags %10000000,%10000000
When I do get that interrupt to work, how do I clear the interrupt flag?
(I tried let toflag=0, but the Editor gave the syntax error again..)
I'm using the 18X-chip
Thanks for any assitance!
I'm trying to use the timer interrupt (toflag) by writing 'settimer X' in the Programming Editor. X is a random number, e.g. 1000.
This is where all goes wrong, because the Programming Editor says:
settimer 1000
^
Error: Syntax error in this line!
What's the problem?
I've set the interrupt active at the beginning of my code by writing:
setintflags %10000000,%10000000
When I do get that interrupt to work, how do I clear the interrupt flag?
(I tried let toflag=0, but the Editor gave the syntax error again..)
I'm using the 18X-chip
Thanks for any assitance!