Open Koepel opened 5 years ago
In the files:
there is waiting after a Wire.requestFrom(). You may remove all these lines: while (Wire.available() < 1) delay(1);
Wire.requestFrom()
while (Wire.available() < 1) delay(1);
there is a delay after the Wire.requestFrom(). That is delay is not needed for interfacing with the Wire library.
In the file:
you may remove this line: while (Wire.available() < 1);
while (Wire.available() < 1);
Explanation: Common-mistakes#1
In the files:
there is waiting after a
Wire.requestFrom()
. You may remove all these lines:while (Wire.available() < 1) delay(1);
In the files:
there is a delay after the
Wire.requestFrom()
. That is delay is not needed for interfacing with the Wire library.In the file:
you may remove this line:
while (Wire.available() < 1);
Explanation: Common-mistakes#1