c pic tmr1
Hi,
I dont know where you read that TMR1 has autoreload? the only way to use a pull method is to check when the TMR1 register is highr then the XXXX number that you are looking for, then reset TMR1 register.
The easy way, valculate the diffrence, set it in the register and wait for an interupt. then reload the value to the register and wait again.
BTY, you dont have to turn on the interupt of TMR1, you can just check the flag TMR1IF, if =1 then reset flag and reload value.
Good lcuk.