Pages: [1]   Go Down
Author Topic: slight update to pulseIn() function documentation  (Read 3177 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 2
Posts: 75
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I found this in the source code for pulseIn():
"/* Measures the length (in microseconds) of a pulse on the pin; state is HIGH
 * or LOW, the type of pulse to measure.  Works on pulses from 2-3 microseconds
 * to 3 minutes in length, but must be called at least a few dozen microseconds
 * before the start of the pulse. */"

However, this is *not* in the documentation here:  http://arduino.cc/en/Reference/PulseIn

Please update the documentation to contain the above information, which is critical for certain applications.  The line I especially found useful from the source code is that the function "must be called at least a few dozen microseconds before the start of the pulse."  
« Last Edit: November 01, 2013, 08:31:47 pm by panther3001 » Logged

Visit my RC aircraft blog at http://electricrcaircraftguy.blogspot.com/

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 206
Posts: 12851
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


For your question, please create a new topic under Project Guidance then edit your post above and remove the question.
Logged

Offline Offline
Jr. Member
**
Karma: 2
Posts: 75
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


For your question, please create a new topic under Project Guidance then edit your post above and remove the question.


Done.  My new thread and my project question is located here: http://forum.arduino.cc//index.php?topic=196592.0
« Last Edit: November 01, 2013, 06:50:47 am by panther3001 » Logged

Visit my RC aircraft blog at http://electricrcaircraftguy.blogspot.com/

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 206
Posts: 12851
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Thank you.
Logged

Offline Offline
Jr. Member
**
Karma: 2
Posts: 75
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you think my suggestion will actually get added to the Arduino reference page for pulseIn?
Logged

Visit my RC aircraft blog at http://electricrcaircraftguy.blogspot.com/

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 206
Posts: 12851
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


I don't know.
Logged

Pages: [1]   Go Up
Jump to: