User manual
16Page
Velleman Projects
3.9
SetDigitalChannel
Syntax
void SetDigitalChannel( int CardAddress, int Channel);
Parameters
CardAddress: The address of previously opened card.
Channel: Value between 1 and 8 which corresponds to the output channel that is to be set.
Description
The selected digital output channel is set.
Example
if (CheckBox3->Checked)
SetDigitalChannel(CardAddress, 3);
else
ClearDigitalChannel(CardAddress, 3);