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

Method reset

libraries/SHT85/SHT85.cpp:165–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36