|
FabGL
ESP32 Display Controller and Graphics Library
|
| void writeGPIO | ( | int | gpio, |
| bool | value, | ||
| uint8_t | hwAddr = 0 |
||
| ) |
Sets output status of a pin.
| gpio | Pin to set output value (MCP_A0...MCP_A7 and MCP_B0...MCP_B7) |
| value | Value to set (false = low, true = high) |
| hwAddr | Optional hardware device address |
Example:
io.writeGPIO(MCP_A1, true); // A1 = high
Definition at line 273 of file MCP23S17.cpp.