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

Method isHeaterOn

libraries/SHT85/SHT85.cpp:217–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215
216
217bool SHT::isHeaterOn()
218{
219 if (_heaterOn == false)
220 {
221 return false;
222 }
223 // did not exceed time out
224 if (millis() - _heaterStart < (_heatTimeout * 1000UL))
225 {
226 return true;
227 }
228 heatOff();
229 return false;
230}
231
232
233bool SHT::requestData()

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36