Readback Method

int Readback(int port)

Summary

This method retrieves (reads back) the current output value for the specified port. This is the value that was last written by calling the OutputByte Method or one or more calls to the OutputBit Method.

Parameters

  • port - The port number to read back (0-5)

Return Value

This method returns an integer. The return value is the port's current output value.

See Also

ReadbackByte Method, OutputBit Method, OutputByte Method