FabGL
ESP32 Display Controller and Graphics Library

◆ writePort16()

void writePort16 ( uint16_t  value,
uint8_t  hwAddr = 0 
)
inline

Sets status of output pins of combined port A and B.

Parameters
valueOutput pins status mask. Low 8 bit assigned to port A, higher 8 bits assigned to port B
hwAddrOptional hardware device address

Example:

// set B7 and A0 to high
io.writePort16(0x8001);

Definition at line 361 of file MCP23S17.h.