Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: MeasurementHistory.h
- Revision:
- 24:6f7c34f9d0f8
- Parent:
- 23:f45027ac625c
- Child:
- 25:a5e5b51d4c2a
--- a/MeasurementHistory.h Wed May 29 06:50:47 2019 +0000 +++ b/MeasurementHistory.h Wed May 29 07:11:21 2019 +0000 @@ -10,8 +10,9 @@ // Add some new values to the history void addMeasurement(uint32_t pressure, int16_t temp, uint16_t humidity, uint32_t time); - - uint8_t getPressureTrend( uint32_t newPressure); + + //return the trend of the pressure (not a "value" but the enum) + pressureTrendStates getPressureTrend( uint32_t newPressure); private: