FabGL
ESP32 Display Controller and Graphics Library
|
|
inline |
Sets port direction.
port | Port to configure (MCP_PORTA or MCP_PORTB) |
value | Pins direction mask (1 = input, 0 = output) |
hwAddr | Optional hardware device address |
Example:
// A0 and A7 are outputs, A1..A6 are inputs io.setPortDir(MCP_PORTA, 0b01111110);
Definition at line 314 of file MCP23S17.h.