You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `bool enabled `: Enable or disable temperature alerts. Enabled automatically by `onTemperature()`, but you can use this method to temporarily disable the alerts. Defaults to `false`.
196
+
- `bool enabled `: Enable or disable the temperature sensor. Enabled automatically by `onTemperature()`, but you can use this method to temporarily disable the sensor and therefore the alerts. Defaults to `false`.
197
197
- `MCP9804_Resolution resolution = R_DEGREES_0_0625 `: Set the resolution (precision) of the sensor. One of:
198
198
- `R_DEGREES_0_5000`: +0.5 C
199
199
- `R_DEGREES_0_2500`: +0.25 C
200
200
- `R_DEGREES_0_1250`: +0.125 C
201
201
- `R_DEGREES_0_0625`: +0.0625 (default)
202
202
203
203
See the sensor's [data sheet, section 5.2.4](http://ww1.microchip.com/downloads/en/DeviceDoc/22203C.pdf) for more details.
204
-
204
+
205
205
- `int8_t lower`: Alert when temperature in Celsius is lower. Defaults to `0`.
206
206
- `int8_t upper`: Alert when temperature in Celsius is higher. Defaults to `30`.
207
207
- `int8_t critical = 55`: Alert when temperature in Celsius is higher. Defaults to `55`, above which you run the risk of battery failure.
0 commit comments