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

Method reset

libraries/SHT31/SHT31.cpp:163–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162
163bool SHT31::reset(bool hard)
164{
165 bool b = writeCmd(hard ? SHT31_HARD_RESET : SHT31_SOFT_RESET);
166 if (b == false)
167 {
168 return false;
169 }
170 delay(1); // table 4 datasheet
171 return true;
172}
173
174
175void SHT31::setHeatTimeout(uint8_t seconds)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36