FabGL
ESP32 Display Controller and Graphics Library
|
bool write | ( | int | address, |
uint8_t * | buffer, | ||
int | size, | ||
int | frequency = 100000 , |
||
int | timeOutMS = 50 |
||
) |
Sends a buffer to I2C bus.
This is a thread-safe operation. Multiple tasks can call this method concurrently.
address | I2C address of the destination slave device |
buffer | Buffer to send. |
size | Number of bytes to send. Maximum size is the return value of getMaxBufferLength(). |
frequency | Clock frequency |
timeOutMS | Operation timeout in milliseconds |