User manual
13Page
Velleman Projects
3.6
OutputAllDigital
Syntax
void OutputAllDigital(int CardAddress, int Data);
Parameters
CardAddress: The address of previously opened card.
Data: Value between 0 and 255 that is sent to the digital output port (8 channels).
Description
The channels of the digital output port are updated with the status of the corresponding bits in the data
parameter.
Example
InOutMode(CardAddress, 0, 0);
OutputAllDigital(CardAddress, 0x55);