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 for something.
In the file "protopaja-sick/src/rosserial_arduino/src/ros_lib/examples/Temperature/Temperature.pde" you have added a delay(10); after the Wire.requestFrom(). You can remove that delay.
In the file "protopaja-sick/src/rosserial_arduino/src/ros_lib/examples/BlinkM/BlinkM_funcs.h" you can remove the waiting after the Wire.requestFrom(), that is the while( Wire.available() < 5 ) ; and the while( Wire.available() < 4 ) ;. I know you did not write it and it is not a big deal. I will create an issue at todbot as well.
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 for something.
In the file "protopaja-sick/src/rosserial_arduino/src/ros_lib/examples/Temperature/Temperature.pde" you have added a
delay(10);
after the Wire.requestFrom(). You can remove that delay.In the file "protopaja-sick/src/rosserial_arduino/src/ros_lib/examples/BlinkM/BlinkM_funcs.h" you can remove the waiting after the Wire.requestFrom(), that is the
while( Wire.available() < 5 ) ;
and thewhile( Wire.available() < 4 ) ;
. I know you did not write it and it is not a big deal. I will create an issue at todbot as well.The text was updated successfully, but these errors were encountered: