Description
Sets the Pulse Pal device to match the parameters in the PulsePal object's OutputParams and InputParams fields.
Syntax
programAllParams()
Parameters
None
Returns
None
Example
PulsePalObject.currentOutputParams[3].phase1Duration = .001; // set output channel 3 phase duration to 1ms
PulsePalObject.currentOutputParams[1].interPulseInterval = .2; // set output channel 1 pulse interval to 200ms
PulsePalObject.currentOutputParams[1].pulseTrainDuration = 2; // set output channel 1 train to 2 sec
PulsePalObject.syncAllParams();