summaryrefslogtreecommitdiffstats
path: root/examples/Alert_Window_Mode
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2020-06-27 15:20:19 +0200
committerGitHub <noreply@github.com>2020-06-27 15:20:19 +0200
commite5b2170e0ea36753bf263f53c7a0280147b95bde (patch)
tree13c9f90261f71f8bd4f57249582a79997125345e /examples/Alert_Window_Mode
parentUpdate ADS1115_WE.h (diff)
downloadADS1115_WE-e5b2170e0ea36753bf263f53c7a0280147b95bde.tar
ADS1115_WE-e5b2170e0ea36753bf263f53c7a0280147b95bde.tar.gz
ADS1115_WE-e5b2170e0ea36753bf263f53c7a0280147b95bde.tar.bz2
ADS1115_WE-e5b2170e0ea36753bf263f53c7a0280147b95bde.tar.lz
ADS1115_WE-e5b2170e0ea36753bf263f53c7a0280147b95bde.tar.xz
ADS1115_WE-e5b2170e0ea36753bf263f53c7a0280147b95bde.tar.zst
ADS1115_WE-e5b2170e0ea36753bf263f53c7a0280147b95bde.zip
Diffstat (limited to 'examples/Alert_Window_Mode')
-rw-r--r--examples/Alert_Window_Mode/Alert_Window_Mode.ino4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Alert_Window_Mode/Alert_Window_Mode.ino b/examples/Alert_Window_Mode/Alert_Window_Mode.ino
index 8ecebba..9fe763d 100644
--- a/examples/Alert_Window_Mode/Alert_Window_Mode.ino
+++ b/examples/Alert_Window_Mode/Alert_Window_Mode.ino
@@ -62,10 +62,10 @@ void setup() {
*
* ADS1115_ASSERT_AFTER_1 -> after 1 conversion
* ADS1115_ASSERT_AFTER_2 -> after 2 conversions
- * ADS1115_ASSERT_AFTER_3 -> after 3 conversions
+ * ADS1115_ASSERT_AFTER_4 -> after 4 conversions
* ADS1115_DISABLE_ALERT -> disable comparator / alert pin (default)
*/
- adc.setAlertPinMode(ADS1115_ASSERT_AFTER_1); // alternative: ...AFTER_2 or 3. If you disable this sketch dos not work
+ adc.setAlertPinMode(ADS1115_ASSERT_AFTER_1); // alternative: ...AFTER_2 or 4. If you disable this sketch dos not work
/* Set the conversion rate in SPS (samples per second)
* Options should be self-explaining: