Hi all,
trying to reset the values on TMRIH and TMRIL to 0x00.
Cant seem to do this.
I tried TMR1L, TMR1H =0x00;
i tried turnin timer1 on and off by setting the TMRION.
i want to rest the registers as i am using the capture function (CCP1) which reads the values from the Timer1 registers when an event occurs(falling edge).
I am trying to find the time between two falling edges, so im loading the values captured at each event into two variables and calculating the time between them
I want to rest the registers to remove the hassle of having to account for the overflow.
any ideas?
trying to reset the values on TMRIH and TMRIL to 0x00.
Cant seem to do this.
I tried TMR1L, TMR1H =0x00;
i tried turnin timer1 on and off by setting the TMRION.
i want to rest the registers as i am using the capture function (CCP1) which reads the values from the Timer1 registers when an event occurs(falling edge).
I am trying to find the time between two falling edges, so im loading the values captured at each event into two variables and calculating the time between them
I want to rest the registers to remove the hassle of having to account for the overflow.
any ideas?