FabGL
ESP32 Display Controller and Graphics Library

◆ readReg()

uint8_t readReg ( uint8_t  addr,
uint8_t  hwAddr = 0 
)

Reads 8 bit value from an internal register.

Parameters
addrRegister address (bank 0)
hwAddrOptional hardware device address
Returns
8 bit value read

Definition at line 179 of file MCP23S17.cpp.