User manual

21Page
Velleman Projects
3.14
OutputAllPWM
Syntax
void OutputAllPWM(int CardAddress, int Data1, int Data2);
Parameters
CardAddress: The address of previously opened card.
Data1: Value between 0 and 255 which is to be sent to the PWM 1 output of the card .
Data2: Value between 0 and 255 which is to be sent to the PWM 2 output of the card
Example
OutputAllPWM (0, 128, 128);
// The duty cycle of the PWM outputs of card address 0 are set to 50%