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.
Bookmarks