FabGL
ESP32 Display Controller and Graphics Library
|
void writePort | ( | int | port, |
void const * | buffer, | ||
size_t | length, | ||
uint8_t | hwAddr = 0 |
||
) |
High speed writes an entire buffer to a specific port.
port | Destination port (MCP_PORTA or MCP_PORTB) |
buffer | Pointer to the source buffer |
length | Buffer length (max 4092 bytes) |
hwAddr | Optional hardware device address |
Example:
// sends the content of "buf" (256 bytes) to port A io.writePort(MCP_PORTA, buf, 256);
Definition at line 312 of file MCP23S17.cpp.