Go Down

Topic: slight update to pulseIn() function documentation (Read 3 times) previous topic - next topic

panther3001

Nov 01, 2013, 04:58 am Last Edit: Nov 02, 2013, 02:31 am by panther3001 Reason: 1
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."  
Visit my RC aircraft blog at http://electricrcaircraftguy.blogspot.com/

Coding Badly


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

panther3001

#2
Nov 01, 2013, 11:57 am Last Edit: Nov 01, 2013, 12:50 pm by panther3001 Reason: 1


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
Visit my RC aircraft blog at http://electricrcaircraftguy.blogspot.com/

Coding Badly


panther3001

Do you think my suggestion will actually get added to the Arduino reference page for pulseIn?
Visit my RC aircraft blog at http://electricrcaircraftguy.blogspot.com/

Coding Badly


Go Up