Forum 2005-2010 (read only)
Bugs & Suggestions
Topic: pulseIn timeout
(Read 970 times)
Jan 10, 2007, 07:11 pm
first of all congratulations and thx for arduino 007 - the new features rock !
i have a suggestion for an additional pulseIn argument: a timeout in micro/milliseconds
in case the expected pulse does not come in a certain time.
Re: pulseIn timeout
Jan 10, 2007, 09:21 pm
Good point. I'm going to try to do this for Arduino 0008, assuming I can find a good way to test the timing (since it will be different with the extra check in the loop).