Hi,
A quick and dirty way of doinig this is to use PULSIN. If the value returned is zero then there was no pulse. Note that PULSIN will take .65 seconds to time out if there is no pulse, this can be reduced by using the DEFINE PULSIN_MAX
A value of 1000 will time out in 0.01S (assuming a 4MHz clock).
HTH,
Robert G8RPI.
Bookmarks