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
When the Wire.requestFrom() returns, the I2C transaction has completely finished and the received data is waiting in a buffer in the Wire library. There is no need to wait to read data from that buffer.
In the file "EEEnthusiast/MPU-6050 Implementation/MPU6050_Implementation/MPU6050_Implementation.ino", you can remove the two lines with: while(Wire.available() < 6); after the Wire.requestFrom().
The text was updated successfully, but these errors were encountered:
When the Wire.requestFrom() returns, the I2C transaction has completely finished and the received data is waiting in a buffer in the Wire library. There is no need to wait to read data from that buffer.
In the file "EEEnthusiast/MPU-6050 Implementation/MPU6050_Implementation/MPU6050_Implementation.ino", you can remove the two lines with:
while(Wire.available() < 6);
after the Wire.requestFrom().The text was updated successfully, but these errors were encountered: