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
# Simple calibration program using the LSM303 accelerometer & magnetometer library. | |
# Will print the max accelerometer & magnetometer X, Y, Z axis values every | |
# 1/10th of a second. | |
# Author: Mike McGurrin, combining code from Tony DiCola and Pololu, | |
# with additional concepts from https://appelsiini.net/2018/calibrate-magnetometer/ | |
# License: Follows Pololu license (other code was public domain): | |
# Portions Copyright (c) 2013 Pololu Corporation. For more information, see | |
#http://www.pololu.com/ | |
#http://forum.pololu.com/ |