This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This program reads the angles and heading from the accelerometer, gyroscope | |
and compass on a BerryIMU connected to an Arduino. Make 360 degrees rotation | |
for apply hard iron calibration. | |
Both the BerryIMUv1 and BerryIMUv2 are supported. | |
Feel free to do whatever you like with this code | |
Distributed as-is; no warranty is given. | |
http://ozzmaker.com/ |