Go Down

Topic: pulseIn timeout (Read 676 times) previous topic - next topic

erich

hello,

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.

best

erich

mellis

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).

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy