An example on how to read raw data with calibration
You are viewing an older revision! See the latest version
Homepage
In order to have a valid reading, i had to read multiple sources on how to drive this IC. The following sources have helped me: - https://stackoverflow.com/a/19164062 - http://forum.arduino.cc/index.php?topic=216145.0 - https://www.pololu.com/product/2124 - https://forum.arduino.cc/index.php?topic=265541.0 - https://github.com/elechouse/LSM303/blob/master/LSM303/LSM303.cpp - https://github.com/praneshkmr/node-lsm303/wiki/Understanding-the-calibration-of-the-LSM303-magnetometer-%28compass%29