-
Notifications
You must be signed in to change notification settings - Fork 10
processed
Starmbi edited this page Jan 27, 2020
·
8 revisions
returns true if the last value was already read by the application.
bool processed();true the value was already read by the application.
This can be useful if your application on several places in your code want to read the value,
or if you want to start an new measurement when the value was read.
If you want to know if the sensor is busy at the moment, you may ask for getTime():
If the time is zero (0), the sensor is still collecting data.
If the time is higher than zero (0) then the sensor is idle and in low power mode.
However, in a well written program you will not need any of these functions.