We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aae710 commit b7d3c25Copy full SHA for b7d3c25
examples/high_low_temperature_alert/high_low_temperature_alert.ino
@@ -52,12 +52,12 @@ void loop() {
52
tmp.update();
53
54
if (alert_flag) {
55
- if (tmp.getAlertType () == HIGHALERT) {
+ if (tmp.getAlertType () == TMP117_ALERT::HIGHALERT) {
56
Serial.print("High Temperature allert : ");
57
Serial.print (tmp.getTemperature());
58
Serial.println (" °C");
59
}
60
- else if (tmp.getAlertType () == LOWALERT) {
+ else if (tmp.getAlertType () == TMP117_ALERT::LOWALERT) {
61
Serial.print("Low Temperature allert : ");
62
63
0 commit comments