Pages: [1]   Go Down
Author Topic: pulseIn timeout  (Read 567 times)
0 Members and 1 Guest are viewing this topic.
Oslo
Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: