Hi
have this where i would capture an amount of time,
ex. when the input goes "low", Falling edge, and to NeXT time Falling edge,
Timer1 is set to 125khz. FOSC/4 / prescaler 8.
how should i set it up, , start the timer1 on first interrupt, and at NeXT interrupt then stop timer Again.
?
C Code.
Just the part with capturing, the setup i have control over.
have this where i would capture an amount of time,
ex. when the input goes "low", Falling edge, and to NeXT time Falling edge,
Timer1 is set to 125khz. FOSC/4 / prescaler 8.
how should i set it up, , start the timer1 on first interrupt, and at NeXT interrupt then stop timer Again.
?
C Code.
Just the part with capturing, the setup i have control over.