No need to wait for data after Wire.requestFrom()
Koepel opened this issue · 1 comments
Koepel commented
In two places in the source code there is a while-loop with a delay to wait for data after a call to Wire.requestFrom(). That while-loop and that delay is not needed.
When the Wire.requestFrom() functions returns, the I2C transaction has already completely finished and the received data is in the receive buffer in the Wire library.