Description
An ongoing pulse train can be gated to produce bursts of pulses.
setBurstInterval sets the duration of off-time between bursts.
Syntax
setBurstInterval(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 100ms burst of 1ms, 100Hz pulses every three seconds for one hour when triggered.
myPulsePal.setBurstDuration(1,0.1);
myPulsePal.setBurstInterval(1,2.9);
myPulsePal.setPhase1Duration(1,0.001);
myPulsePal.setInterPulseInterval(1,0.099);
myPulsePal.setPulseTrainDuration(1,3600);