T1CON = $31 sets the prescaler to 8 and turns on timer1. The interrupt is on overflow.
Timer1 overflows in 8 * 65536 * 1uS if you're using a 4MHx oscillator.
T1CON = $31 sets the prescaler to 8 and turns on timer1. The interrupt is on overflow.
Timer1 overflows in 8 * 65536 * 1uS if you're using a 4MHx oscillator.
Bookmarks