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

Method read

libraries/SHT31/SHT31.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88
89bool SHT31::read(bool fast)
90{
91 if (writeCmd(fast ? SHT31_MEASUREMENT_FAST : SHT31_MEASUREMENT_SLOW) == false)
92 {
93 return false;
94 }
95 delay(fast ? 4 : 15); // table 4 datasheet
96 return readData(fast);
97}
98
99
100bool SHT31::isConnected()

Callers 2

readBytesMethod · 0.45
unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36