Open
Description
The dataAvailable() function is public and can therefore be used to only call getObjectTemp or getDeviceTemp when new data is available (most usefull when measuring in continuous mode). Both getObjectTemp and getDeviceTemp do call clearNewData(). This means that the unit will have to busywait for the full update time.
This could be avoided by giving getObjectTemp a bool as input: waitForNewData. This is true by default, but can be set to false if the user wants to only call the fucntion if they know the data is new.
Metadata
Metadata
Assignees
Labels
No labels