Hi, Ply rat
PULSIN has a time-limit ... ( see DEFINE PULSIN_MAX ) and returns 0 if this time limit is reached.
So, you must stay within those limits ... (default 65535 counts = 0.65535 sec @ 4 Mhz)
Take care : that applies to the High OR Low state of your pulse !!!
What pulse length ( or signal ) do you want to catch ???
Could you explain a bit more what you want to build as a device ???
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks