BMP180 Pressure/Temperature Sensor library
Dependents: GliderFuncTest1 DropTest
Fork of BMP180 by
Diff: BMP180.h
- Revision:
- 2:1dad52218be5
- Parent:
- 1:072073c79cfd
- Child:
- 3:ae101ea7bd90
--- a/BMP180.h Mon Mar 17 20:42:23 2014 +0000 +++ b/BMP180.h Sun Apr 09 05:05:11 2017 +0000 @@ -95,7 +95,9 @@ * 1 on success, * 0 on error */ - int ReadData(float* pTemperature = NULL, float* pPressure = NULL); + int ReadData(float* pTemperature = NULL, float* pPressure = NULL, float* pAltitude = NULL); + + float getAltitude(float* p); /** Get temperature from a previous measurement *