Description
Sets the identity of the custom train used to specify pulse times and voltages on an output channel
Syntax
setCustomTrainID(uint8_t channel, uint8_t ID)
Parameters
channel: the output channel to adjust
ID: 0 if using pulse train parameters (no custom train), 1 if using custom train 1, 2 if custom train 2.
Returns
None
Example
// Set output channels 1 and 4 to use custom train 2
myPulsePal.setCustomTrainID(1,2);
myPulsePal.setCustomTrainID(4,2);