summaryrefslogtreecommitdiff
path: root/src/micropeak/ao_pins.h
Commit message (Collapse)AuthorAge
* altos: Make sure pa to altitude conversion is done with 32 bitsKeith Packard2012-12-09
| | | | | | | We need 32 bits to hold intermediate values, even if the final altitude is reported in only 16 bits. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Store altitude in 32-bits for MicroPeakKeith Packard2012-12-09
| | | | | | Needs all 32 bits to store .1 meter resolution Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: micropeak LED is orange now, not blueKeith Packard2012-11-18
| | | | | | Change the names around to match Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/micropeak: Run MS5607 at max resolution for micropeakKeith Packard2012-10-30
| | | | | | We've got lots of time, so get the highest resolution baro data available. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/micropeak: Clock micropeak at 250kHz to save powerKeith Packard2012-10-30
| | | | | | | | | | This reduces average current consumption from 2mA to .4mA. This makes the battery last longer, but also gets the current under something that the typical CR1025 battery can support. Would be nice to reduce current even further; cheap CR1025 batteries still seem to fade a bit at this current level. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/micropeak: Switch to MS5607 sensor. Require 4m for boost. Elide dead codeKeith Packard2012-10-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add initial micropeak implementationKeith Packard2012-10-12
Blinks out max height in decimeters, stores previous flight data to internal eeprom. Signed-off-by: Keith Packard <keithp@keithp.com>