You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file "MakingThingsTalk2/chapter9/project27/SonMicroFirmware/SonMicroFirmware.ino" these lines can be removed after the Wire.requestFrom():
// don't do anything until new bytes arrive:
while(!Wire.available()) {
delay(50);
}
There is nothing to wait for. When the Wire.requestFrom() returns, the I2C transaction has completely finished and the received data is waiting in a buffer in the Wire library.
The text was updated successfully, but these errors were encountered:
In the file "MakingThingsTalk2/chapter9/project27/SonMicroFirmware/SonMicroFirmware.ino" these lines can be removed after the Wire.requestFrom():
There is nothing to wait for. When the Wire.requestFrom() returns, the I2C transaction has completely finished and the received data is waiting in a buffer in the Wire library.
The text was updated successfully, but these errors were encountered: