Why not put it in one check and save a cycle?
Like this (untested):
Main:
Pulsin Porta.0, 1, Width 'Wait for a high pulse store the pulse...
Type: Posts; User: Ioannis; Keyword(s):
Why not put it in one check and save a cycle?
Like this (untested):
Main:
Pulsin Porta.0, 1, Width 'Wait for a high pulse store the pulse...
I would disconnect any motors for the testing, as David suggested.
Ioannis