You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: