Description
Sets the resting voltage on a specified output channel (the voltage between phases, pulses and pulse trains)
Syntax
setRestingVoltage(uint8_t channel, float voltage)
Parameters
channel: the output channel to adjust
voltage: the resting voltage (-10V to +10V)
Returns
None
Example
// Set output channel 3 to provide inverted 5V logic pulses:
myPulsePal.setRestingVoltage(3,5); // Set resting voltage to 5V
myPulsePal.setPhase1Voltage(3,0); // Set pulse voltage to 0V