U2C_RESULT U2C_SingleIoWrite(
      HANDLE hDevice,
      ULONG IoNumber,
      BOOL Value
);
The U2C_SingleIoWrite() function sets the output value of the specified GPIO pin. Pin must be configured as output using U2C_SetIoDirection() orU2C_SetSingleIoDirection() functions first.
Parameters:
- hDevice
- Handle to the U2C-12 device. 
- IoNumber
- The number of the GPIO pin to set output value to: - Numbers 0..7 correspond to Port A pins 0..7
- Numbers 8..15 correspond to Port B pins 0..7
- Number 16..23 correspond to Port C pins 0..7
 
- Value
- The GPIO pin new output value. 
Return values:
U2C_SUCCESS
The GPIO pin output value was successfully modified.
U2C_HARDWARE_NOT_FOUND
U2C-12 device referenced by hDevice handle was not found.
U2C_BAD_PARAMETER
IoNumber is out of range.