WebbotLib AVR library
WebbotLib It just does it
C++documentationCdocumentation

pulseOut

Sends an output pulse of the specified duration.
Syntax
Pin. pulseOut(duration,activeHigh)
Where Pin is the name you have given to the device in Project Designer.
Parameters
TypeNameDescription
'duration'
The duration of the pulse in S.
'activeHigh'
TRUE if the pulse is __|-----|___ or FALSE if it is ---|___|---
Returns
None
Note
This ensure that the pin is set as an output pin.

Valid XHTML 1.0 Transitional