Description
Sets a delay between the arrival of a trigger and when the channel begins its pulse train
Syntax
setPulseTrainDelay(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, beginning 500ms after arrival of a trigger.
myPulsePal.setPulseTrainDuration(1,0.2);
myPulsePal.setPulseTrainDelay(1,0.5);