summaryrefslogtreecommitdiffstats
diff options
context:
space:
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: