dscDIOInputByte

BYTE dscDIOInputByte(DSCB board, BYTE port, BYTE* digital_value);

Receives a BYTE from a given digital input port.

Name

Description

DSCB

The handle of the board to operate on

port

Selected input port

digital_value

The BYTE value read from the selected digital input port; range is 0-255

Return Value

Error code or 0.

Last updated