From a3fefbac1c32f618340eb6521728116914b3f41a Mon Sep 17 00:00:00 2001 From: "Wolfgang (Wolle) Ewald" Date: Wed, 6 Jan 2021 15:51:54 +0100 Subject: Update Continuous.ino --- examples/Continuous/Continuous.ino | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'examples') diff --git a/examples/Continuous/Continuous.ino b/examples/Continuous/Continuous.ino index 3c8313a..ded8781 100644 --- a/examples/Continuous/Continuous.ino +++ b/examples/Continuous/Continuous.ino @@ -4,7 +4,8 @@ * This sketch shows how to use the ADS1115 in continuous mode. * * Further information can be found on: -* https://wolles-elektronikkiste.de/ads1115 +* https://wolles-elektronikkiste.de/ads1115 (German) +* https://wolles-elektronikkiste.de/en/ads1115-a-d-converter-with-amplifier (English) * ***************************************************************************/ @@ -47,7 +48,7 @@ void setup() { */ adc.setCompareChannels(ADS1115_COMP_0_GND); //comment line/change parameter to change channel - /* Set number of conversions after which the alert pin will be active + /* Set number of conversions after which the alert pin asserts * - or you can disable the alert * * ADS1115_ASSERT_AFTER_1 -> after 1 conversion @@ -78,11 +79,11 @@ void setup() { */ adc.setMeasureMode(ADS1115_CONTINUOUS); //comment line/change parameter to change mode - /* Choose maximum limit or maximum and minimum alert limit (window)in Volt - alert pin will - * be active when measured values are beyond the maximum limit or outside the window + /* Choose maximum limit or maximum and minimum alert limit (window) in Volt - alert pin will + * assert when measured values are beyond the maximum limit or outside the window * Upper limit first: setAlertLimit_V(MODE, maximum, minimum) - * In max limit mode the minimum value is the limit where the alert pin will be deactivated (if - * not latched) + * In max limit mode the minimum value is the limit where the alert pin assertion will be + * cleared (if not latched) * * ADS1115_MAX_LIMIT * ADS1115_WINDOW @@ -90,9 +91,9 @@ void setup() { */ //adc.setAlertModeAndLimit_V(ADS1115_MAX_LIMIT, 3.0, 1.5); //uncomment if you want to change the default - /* Enable or disable latch. If latch is enabled the alarm pin will be active until the - * conversion register is read (getResult functions). If disabled the alarm pin will be - * deactivated with next value within limits. + /* Enable or disable latch. If latch is enabled the alert pin will assert until the + * conversion register is read (getResult functions). If disabled the alert pin assertion will be + * cleared with next value within limits. * * ADS1115_LATCH_DISABLED (default) * ADS1115_LATCH_ENABLED @@ -101,16 +102,16 @@ void setup() { /* Sets the alert pin polarity if active: * - * Enable or disable latch. If latch is enabled the alarm pin will be active until the - * conversion register is read (getResult functions). If disabled the alarm pin will be - * deactivated with next value within limits. + * Enable or disable latch. If latch is enabled the alert pin will assert until the + * conversion register is read (getResult functions). If disabled the alert pin assertion + * will be cleared with next value within limits. * * ADS1115_ACT_LOW -> active low (default) * ADS1115_ACT_HIGH -> active high */ //adc.setAlertPol(ADS1115_ACT_LOW); //uncomment if you want to change the default - /* With this function the alert pin will be active, when a conversion is ready. + /* With this function the alert pin will assert, when a conversion is ready. * In order to deactivate, use the setAlertLimit_V function */ //adc.setAlertPinToConversionReady(); //uncomment if you want to change the default -- cgit v1.2.3