- Announcement about May 10th, 2018 update and your password.
Trouble reading HMC5883L Compass module
I recently acquired a HMC5883L compass module and connected it to an Arduino to run the test code provided at the Parallax web site. After fixing an error that popped up during compilation (had to change "send" and "receive" to "write" and "read" to conform to the latest Arduino syntax), the code ran, but all I get out of the module are unchanging values on all three axes regardless of orientation. I have experience with I2C software and with I2C software for the Arduino in particular (using the wire library), and the code looks fine. Anyone seen this kind of behavior?