FabGL
ESP32 Display Controller and Graphics Library

◆ writeReg16()

void writeReg16 ( uint8_t  addr,
uint16_t  value,
uint8_t  hwAddr = 0 
)

Writes 16 bit value to two consecutive registers.

Parameters
addrFirst register address to write (bank 0)
value16 bit value to write
hwAddrOptional hardware device address

Definition at line 201 of file MCP23S17.cpp.