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 "RoboRuckus/BotCode/Adafruit_HMC5883/Adafruit_HMC5883_U.cpp", you may remove the lines: "while (Wire.available() < 6);", and you may also remove the Wire.endTransmission() after a Wire.requestFrom().
Explanation: Common-mistakes, number 1 and 2.
Thanks for the tips! I'm actually planning to switch to a different sensor in the near future since the HMC5883 board I was using has been discontinued. That being the case, I'm not particularly inclined to spend any time messing around with the library especially since it's currently working fine and I plan to dump it soon anyway. However, I'll definitely keep your tips in mind for the future, or if for some reason I am unable to switch to a different sensor.
In the file "RoboRuckus/BotCode/Adafruit_HMC5883/Adafruit_HMC5883_U.cpp", you may remove the lines: "
while (Wire.available() < 6);
", and you may also remove the Wire.endTransmission() after a Wire.requestFrom().Explanation: Common-mistakes, number 1 and 2.
See also: adafruit/Adafruit_HMC5883_Unified#1
The text was updated successfully, but these errors were encountered: