diff options
author | Wolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de> | 2021-01-06 16:07:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 16:07:51 +0100 |
commit | 912c53d44d555527f120ff6cb6e2dbe73748791e (patch) | |
tree | 8d3a551038f2b11aea51d49c535a7d191d0cae37 | |
parent | Update Single_Shot_Conv_Ready_Alert_Controlled.ino (diff) | |
download | ADS1115_WE-912c53d44d555527f120ff6cb6e2dbe73748791e.tar ADS1115_WE-912c53d44d555527f120ff6cb6e2dbe73748791e.tar.gz ADS1115_WE-912c53d44d555527f120ff6cb6e2dbe73748791e.tar.bz2 ADS1115_WE-912c53d44d555527f120ff6cb6e2dbe73748791e.tar.lz ADS1115_WE-912c53d44d555527f120ff6cb6e2dbe73748791e.tar.xz ADS1115_WE-912c53d44d555527f120ff6cb6e2dbe73748791e.tar.zst ADS1115_WE-912c53d44d555527f120ff6cb6e2dbe73748791e.zip |
Diffstat (limited to '')
-rw-r--r-- | examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino b/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino index 9ca409e..f1c2696 100644 --- a/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino +++ b/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino @@ -5,7 +5,8 @@ * This does not work in the 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)
*
***************************************************************************/
@@ -48,7 +49,7 @@ void setup() { */
adc.setCompareChannels(ADS1115_COMP_0_GND); //comment line/change parameter to change channels
- /* Set number of conversions after which the alert pin will be active
+ /* Set number of conversions after which the alert pin will assert
* - or you can disable the alert
*
* ADS1115_ASSERT_AFTER_1 -> after 1 conversion
@@ -79,10 +80,10 @@ void setup() { */
//adc.setMeasureMode(ADS1115_CONTINUOUS); //continuous mode does not work with conversion ready (isBusy)
- /* 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 volts - 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
+ * In max limit mode the minimum value is the limit where the alert pin assertion will be cleared (if
* not latched)
*
* ADS1115_MAX_LIMIT
@@ -91,9 +92,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
@@ -102,16 +103,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 alarm 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
|