diff options
Diffstat (limited to 'examples/Single_Shot_Conv_Ready_Controlled')
-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
|