Quote Originally Posted by Travin77
Thanks trying. I tried your idea as it is simpler to implement, the problem was it was missing the pin going high. I couldn't seem to get the timing right.
Hi Travin77 - trying's sample waits for the pin to go low. If your button pulls an input high, just replace the "IF pb=0" with "IF pb=1"

Or do you need to do something different than just wait for a button press?

Arch