summaryrefslogtreecommitdiffstats
path: root/examples/Alert_Window_Mode_with_Latch
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2020-06-29 21:12:34 +0200
committerGitHub <noreply@github.com>2020-06-29 21:12:34 +0200
commitd41f6631adae4784c1a184a711536bda6e0f8fe9 (patch)
treeda65d3f6b2572cff1af7fbf4f9b6f41528442588 /examples/Alert_Window_Mode_with_Latch
parentUpdate ADS1115_WE.cpp (diff)
downloadADS1115_WE-d41f6631adae4784c1a184a711536bda6e0f8fe9.tar
ADS1115_WE-d41f6631adae4784c1a184a711536bda6e0f8fe9.tar.gz
ADS1115_WE-d41f6631adae4784c1a184a711536bda6e0f8fe9.tar.bz2
ADS1115_WE-d41f6631adae4784c1a184a711536bda6e0f8fe9.tar.lz
ADS1115_WE-d41f6631adae4784c1a184a711536bda6e0f8fe9.tar.xz
ADS1115_WE-d41f6631adae4784c1a184a711536bda6e0f8fe9.tar.zst
ADS1115_WE-d41f6631adae4784c1a184a711536bda6e0f8fe9.zip
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)
}
}