MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / lastMeasurement

Method lastMeasurement

libraries/SGP30/SGP30.h:45–45  ·  view source on GitHub ↗

MEASUREMENTS lastMeasurement works only with measure(); not with async calls.

Source from the content-addressed store, hash-verified

43 // lastMeasurement works only with measure();
44 // not with async calls.
45 uint32_t lastMeasurement() { return _lastTime; };
46 // all == false ==> only TVOC and eCO2
47 // blocks 15 - 40 milliseconds (depends on parameter all).
48 bool measure(bool all = false);

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36