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

Method heatOff

libraries/SHT31/SHT31.cpp:201–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36