adding offsets works well in normal range might introduce under- or overflow at the ends of the sensor range
| 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; }; |