Hi,
I have been working on some 12F683 code that uses timer 1 and
know that you have to treat the two halves of the 16 bit register
as a high byte and a low byte. But, is there a way to do a compare
on the whole register as in
#define VALUE 2400
if(TMR1 < VALUE){
I am using Mikro C in case some compilers act differentaly.
Thanks,
Dave
I have been working on some 12F683 code that uses timer 1 and
know that you have to treat the two halves of the 16 bit register
as a high byte and a low byte. But, is there a way to do a compare
on the whole register as in
#define VALUE 2400
if(TMR1 < VALUE){
I am using Mikro C in case some compilers act differentaly.
Thanks,
Dave