MCP23S17_FB.read8 (METH)ΒΆ

METHOD read8 : BYTE

This method is used to read the data byte of one port using the following protocol: Byte0: 16#41 + hardware address Byte1: Port Byte2: 16#FF return value: data content

InOut:

Scope

Name

Type

Comment

Return

read8

BYTE

Input

byHardwareAddress

BYTE (0..7)

hardware address

byPort

BYTE

port number to read