summaryrefslogtreecommitdiffstats
path: root/examples/Continuous/Continuous.ino
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2021-01-06 15:51:54 +0100
committerGitHub <noreply@github.com>2021-01-06 15:51:54 +0100
commita3fefbac1c32f618340eb6521728116914b3f41a (patch)
tree15b61479e087a09d07894df408a1c48b59c3fdd4 /examples/Continuous/Continuous.ino
parentUpdate Alert_Window_Mode_with_Latch.ino (diff)
downloadADS1115_WE-a3fefbac1c32f618340eb6521728116914b3f41a.tar
ADS1115_WE-a3fefbac1c32f618340eb6521728116914b3f41a.tar.gz
ADS1115_WE-a3fefbac1c32f618340eb6521728116914b3f41a.tar.bz2
ADS1115_WE-a3fefbac1c32f618340eb6521728116914b3f41a.tar.lz
ADS1115_WE-a3fefbac1c32f618340eb6521728116914b3f41a.tar.xz
ADS1115_WE-a3fefbac1c32f618340eb6521728116914b3f41a.tar.zst
ADS1115_WE-a3fefbac1c32f618340eb6521728116914b3f41a.zip
Diffstat (limited to 'examples/Continuous/Continuous.ino')
-rw-r--r--examples/Continuous/Continuous.ino27
1 files changed, 14 insertions, 13 deletions
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