Quote Originally Posted by bogdan View Post
Do you guys use the:
a) Timer1 Gate Interrupt (triggered by the overflow of the timebase timer )
or
b) Timebase timer Interrupt (overflow)
...and when one of those interrupts is serviced checking the counts on the timer1
b) - I use timer2 interrupt (via DT's interrupts) as the timebase... & in the interrupt routine, I check the actual timer1 counts (ie as received from the cap sense module).

When I put the PIC to sleep, because timer2 can't be used while it's sleeping, I use the WDT as the necessary timebase.