Skip to content

processed

Starmbi edited this page Jan 27, 2020 · 8 revisions

processed

returns true if the last value was already read by the application.

 bool processed();

result Boolean

true the value was already read by the application.


Hint:

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.

Clone this wiki locally