Closed BartoszGum closed 2 years ago
Unfortunately, I couldn't address this issue in a timely manner because I haven't been working with the ESP32 ever since. In this meantime, I2C Slave support has been added to the official ESP32 framework as you can see in the updated README of this repo. Therefore this library is no longer needed and its development will be ceased.
In your particular case, I can see you're setting up the I2C slave on every loop, and that's wrong. You should setup only once, and only call the update() method on the main loop, as in the slave examples.
Hi, I have a code with communication between two ESP-WROOM 32U 240MHz / 4MB Flash. During sending first 4-5 times everything is ok, but next I'm getting error "Max attempts" or "Slave not found". Master restart doesn't fix a problem, so I think It must be problem with slave (his restart fix problem).
It's my code: (a little chaotic, because I'm trying different things to repair this error)
Master:
`
`
and Slave:
`
`