What is the best way to wake up the PIC from sleep?
I need to check the state of pins about 30 times per second.
I tried with tmr1 and crystal @32,768KHz, to wake up pic. But i'm not happy with results. PIC does wake up, but never on time...
I measured time between pulses on oscilloscope, I just added in an interrupt pin high, low pin.
Time between pulses vary for about 10ms. Why does this happen??
Thanks