Quote Originally Posted by passion1 View Post
The manual says "With a 20MHz oscillator it checks the pin state every 4us, thus I assume the program continues to execute during the 1000 milliseconds period of the COUNT command, or am I wrong?
Nope, the program stops during the counting.
If you want the program to keep running, you have to start looking at interrupts and timers, etc...