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

Method heatOff

libraries/SHT85/SHT85.cpp:203–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201
202
203bool SHT::heatOff()
204{
205 // always switch off the heater - ignore _heaterOn flag.
206 if (writeCmd(SHT_HEAT_OFF) == false)
207 {
208 _error = SHT_ERR_HEATER_OFF; // can be serious!
209 return false;
210 }
211 _heaterStop = millis();
212 _heaterOn = false;
213 return true;
214}
215
216
217bool SHT::isHeaterOn()

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36