Search found 1 match

by kelnos
Thu May 26, 2022 9:09 am
Forum: ESP-IDF
Topic: Determining read/write as an I2C slave
Replies: 0
Views: 641

Determining read/write as an I2C slave

Hi all, I'm trying to use ESP32's I2C functionality as a slave. When the I2C master wants to read/write data from/to the slave, it sets the lowest bit of the I2C address to either 0 (write) or 1 (read). However, I can't seem to figure out how to get this value from ESP-IDF's I2C slave functions. As ...