I2C Temprature Sensor Progemm MPL3115A2
Dependents: I2C_Temprature_raspiboard
Fork of MPL3115A2 by
Diff: Altitude.h
- Revision:
- 4:c0ee6755d57f
- Parent:
- 3:7c7c1ea6fc33
--- a/Altitude.h Wed Apr 02 12:59:44 2014 +0000 +++ b/Altitude.h Tue Jun 20 07:42:33 2017 +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; }