@@ -179,15 +179,20 @@ The call will block for 3 to 40 milliseconds, depending upon number of bits.
179
179
- ** uint32_t lastRead()** returns the timestamp of the last call to read() in
180
180
milliseconds since start.
181
181
It does not take into account if the read call is successful or not.
182
+ - ** float getTemperature()** returns temperature in degrees Celsius.
183
+ Multiple calls will return the same value until read() is called again.
182
184
- ** float getPressure()** returns pressure in mBar.
183
185
Multiple calls will return the same value until read() is called again.
184
- - ** float getTemperature ()** returns temperature in degrees Celsius .
186
+ - ** float getPressurePascal ()** returns pressure in Pascal (SI-unit) .
185
187
Multiple calls will return the same value until read() is called again.
186
188
- ** float getAltitude(float airPressure = 1013.25)** calculates the altitude,
187
- based upon actual pressure measured and the current pressure at sea level.
188
- Returns the altitude in meters.
189
- Multiple calls will return the same value until read() is called again.
190
- One can compensate for the actual air pressure at sea level.
189
+ based upon actual pressure measured and the current pressure at sea level (parameter airPressure).
190
+ Returns the altitude in meters (SI-unit).
191
+ Multiple calls will return the same altitude until a new pressure is ** read()** .
192
+ - ** float getAltitudeFeet(float airPressure = 1013.25)** calculates the altitude,
193
+ based upon actual pressure measured and the current pressure at sea level (parameter airPressure).
194
+ Returns the altitude in feet.
195
+ Multiple calls will return the same altitude until a new pressure is ** read()** .
191
196
192
197
Experimental note.
193
198
@@ -215,7 +220,12 @@ density water 20°C = 0.99802
215
220
- ** float getDensity()** returns set liquid density.
216
221
- ** float getDepth(float airPressure = 1013.25)** calculates the depth,
217
222
based upon actual pressure and the pressure at sea level.
218
- Returns depth in meters.
223
+ Returns depth in meters (SI-unit).
224
+ One can compensate for the actual air pressure at sea level.
225
+ Multiple calls will return the same value until read() is called again.
226
+ - ** float getDepthFeet(float airPressure = 1013.25)** calculates the depth,
227
+ based upon actual pressure and the pressure at sea level.
228
+ Returns depth in feet.
219
229
One can compensate for the actual air pressure at sea level.
220
230
Multiple calls will return the same value until read() is called again.
221
231
0 commit comments