Forked Changes to Pressure sensor
Dependents: WiFiDipCortexSensor
Fork of MPL3115A2 by
Diff: Altitude.h
- Revision:
- 5:1c3bf7d001a3
- Parent:
- 3:7c7c1ea6fc33
--- a/Altitude.h Fri Jun 20 06:49:03 2014 +0000 +++ b/Altitude.h Fri Jun 20 06:52:34 2014 +0000 @@ -50,7 +50,7 @@ void setAltitude(float a, unitsType units = FEET); //! Returns the altitude as a string in the units specified, defaulting to FEET if none specified. - const char* print(unitsType units = FEET); + const char* print(unitsType units = METERS); //! Converts meters to feet. static float MetersToFeet(float meters) { return meters * 3.28084; }