Interrupt with Timer Question.
Posted: Tue Jun 22, 2021 3:23 pm
Good morning?
I want to measure RPM using timer.
As in the attached program, when an interrupt occurs, a timer is operated to calculate RPM with the count value.
However, the timer does not work when using interrupts.
This is done in a normal routine.
Is there something I'm missing out on?
Please advise.
MCU: PIC18F47Q10
Clock: Internal 64MHz
I want to measure RPM using timer.
As in the attached program, when an interrupt occurs, a timer is operated to calculate RPM with the count value.
However, the timer does not work when using interrupts.
This is done in a normal routine.
Is there something I'm missing out on?
Please advise.
MCU: PIC18F47Q10
Clock: Internal 64MHz