Arduino Forum

Community => Website and Forum => Topic started by: panther3001 on Nov 01, 2013, 04:58 am

Title: slight update to pulseIn() function documentation
Post by: panther3001 on Nov 01, 2013, 04:58 am
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 (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."  
Title: Re: slight update to pulseIn() function documentation
Post by: Coding Badly on Nov 01, 2013, 09:09 am

For your question, please create a new topic under Project Guidance then edit your post above and remove the question.
Title: Re: slight update to pulseIn() function documentation
Post by: panther3001 on Nov 01, 2013, 11:57 am


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
Title: Re: slight update to pulseIn() function documentation
Post by: Coding Badly on Nov 01, 2013, 06:54 pm

Thank you.
Title: Re: slight update to pulseIn() function documentation
Post by: panther3001 on Nov 02, 2013, 02:30 am
Do you think my suggestion will actually get added to the Arduino reference page for pulseIn?
Title: Re: slight update to pulseIn() function documentation
Post by: Coding Badly on Nov 02, 2013, 02:58 am

I don't know.