Description
Sets the duration of the entire pulse train.
Syntax
setPulseTrainDuration(uint8_t channel, float timeInSeconds)
Parameters
channel: the output channel to adjust
timeinSeconds: the duration of phase 1 (0.0001s to 3600s).
Returns
None
Example
// Set output channel 1 to deliver a pulse train that lasts for 200ms.
myPulsePal.setPulseTrainDuration(1,0.2);