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

Method read

libraries/SHT85/SHT85.cpp:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90
91bool SHT::read(bool fast)
92{
93 if (writeCmd(fast ? SHT_MEASUREMENT_FAST : SHT_MEASUREMENT_SLOW) == false)
94 {
95 return false;
96 }
97 delay(fast ? 4 : 15); // table 4 datasheet
98 return readData(fast);
99}
100
101
102bool SHT::isConnected()

Callers 2

readBytesMethod · 0.45
unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36