Description
Sets the duration for the second phase of each pulse on a specified output channel
Syntax
setPhase2Duration(uint8_t channel, float timeInSeconds)
Parameters
channel: the output channel to adjust
timeinSeconds: the duration of phase 2 (0.0001s to 3600s)
Returns
None
Example
// Set output channel 4 to use biphasic pulses with the following parameters: first phase, 10V, 0.4ms. inter-phase interval, // 0.1ms. Second phase: -10V, 0.4ms.
myPulsePal.setBiphasic(4,1);
myPulsePal.setPhase1Voltage(4,10); myPulsePal.setPhase2Voltage(4,-10);
myPulsePal.setPhase1Duration(4,0.0004); myPulsePal.setPhase2Duration(4,0.0004);
myPulsePal.setInterPhaseInterval(4,0.0001);