It looks like you're monitoring for a positive going pulse that is caught by the first While/Wend but will stay there because the second While/Wend is waiting for it to go Positive again.
Change the second one to:
So now it is waiting for the pulse to go Low.Code:while Capture wend
Or am I missing something to?... yup, thought the "Capture" was a pin, it's the interrupt. NM




Bookmarks