summaryrefslogtreecommitdiffstats
path: root/examples/Alert_Window_Mode_with_Latch
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Alert_Window_Mode_with_Latch')
-rw-r--r--examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino b/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino
index 85f3667..d8bfeb7 100644
--- a/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino
+++ b/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino
@@ -144,7 +144,7 @@ void loop() {
digitalWrite(ledPin,LOW);
outOfLimit = false;
attachInterrupt(digitalPinToInterrupt(interruptPin), outOfLimitAlert, FALLING);
- adc.unlatchAlertPin(); // unlatches the alert Pin (alternatively use getResult_V)
+ adc.clearAlert(); // unlatches the alert Pin (alternatively use getResult_V)
}
}