was wondering how I could write a code to zero the altitude on start up and have it measure the actual altitude of the device?
when I run the examples givin, the altitude is around 240 m.
Adafruit 10-DOF breakout
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Adafruit 10-DOF breakout
Just take an altitude reading in setup(). Save it to a variable. Then subtract that variable from all the readings after that.
- tizik
- Posts: 3
- Joined: Thu Jan 02, 2014 9:54 am
Re: Adafruit 10-DOF breakout
Sweet. Didn't know it was that simple! thanx
Please be positive and constructive with your questions and comments.