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

Method setHumOffset

libraries/DHTINT/dhtint.h:80–80  ·  view source on GitHub ↗

adding offsets works well in normal range might introduce under- or overflow at the ends of the sensor range

Source from the content-addressed store, hash-verified

78 // adding offsets works well in normal range
79 // might introduce under- or overflow at the ends of the sensor range
80 void setHumOffset(int offset) { _humOffset = offset * 10; };
81 void setTempOffset(int offset) { _tempOffset = offset * 10; };
82 int getHumOffset() { return _humOffset / 10; };
83 int getTempOffset() { return _tempOffset / 10; };

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36