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
// Original code by Rolf R Bakke, Oct 2012, | |
// Modified May 2017 by Thomas Gilson. [email protected] | |
// code is for the arduino pro/pro mini, using MS5611 barometer and speaker on pin 2. | |
// can be hooked up to a button for different mode changes on the "fly" (he he). | |
// made especially for paragliders. | |
// before using this, you should know roughly what your min sink rate will be. | |
// this code is designed to sound no tone when descending normally at speeds near your min sink rate. | |
// it sounds (relatively) continuous low frequency tones when descending faster than user-settable sink threshold. | |
// it sounds high-frequency beeps when gaining altitude faster than user-settable ascend threshold. | |
// it may detect when you are getting thermal uplift but still descending. This can be disabled if preferred. |