An example on how to read raw data with calibration
In order to have a valid reading with calibration, 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
History
first commit
2017-07-18, by ElectronicsSanta [Tue, 18 Jul 2017 11:07:32 +0000] rev 0
first commit