summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2020-07-25 21:34:37 +0200
committerGitHub <noreply@github.com>2020-07-25 21:34:37 +0200
commit4f779ccbabaf58db80a9bef2e113ff3c719d24b2 (patch)
treebc798cdf6d9518984176b5b525cf5b3f10a1d1c1
parentUpdate Alert_Window_Mode_with_Latch.ino (diff)
downloadADS1115_WE-4f779ccbabaf58db80a9bef2e113ff3c719d24b2.tar
ADS1115_WE-4f779ccbabaf58db80a9bef2e113ff3c719d24b2.tar.gz
ADS1115_WE-4f779ccbabaf58db80a9bef2e113ff3c719d24b2.tar.bz2
ADS1115_WE-4f779ccbabaf58db80a9bef2e113ff3c719d24b2.tar.lz
ADS1115_WE-4f779ccbabaf58db80a9bef2e113ff3c719d24b2.tar.xz
ADS1115_WE-4f779ccbabaf58db80a9bef2e113ff3c719d24b2.tar.zst
ADS1115_WE-4f779ccbabaf58db80a9bef2e113ff3c719d24b2.zip
-rw-r--r--examples/Single_Shot_Conv_Ready_Alert_Controlled/Single_Shot_Conv_Ready_Alert_Controlled.ino6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Single_Shot_Conv_Ready_Alert_Controlled/Single_Shot_Conv_Ready_Alert_Controlled.ino b/examples/Single_Shot_Conv_Ready_Alert_Controlled/Single_Shot_Conv_Ready_Alert_Controlled.ino
index 06ace44..33ce2f3 100644
--- a/examples/Single_Shot_Conv_Ready_Alert_Controlled/Single_Shot_Conv_Ready_Alert_Controlled.ino
+++ b/examples/Single_Shot_Conv_Ready_Alert_Controlled/Single_Shot_Conv_Ready_Alert_Controlled.ino
@@ -17,7 +17,7 @@ int interruptPin = 2;
volatile bool convReady = false;
ADS1115_WE adc(I2C_ADDRESS);
-// ADS1115_WE adc = ADS1115_WE(); // Alternative: sets default address 0x48
+// ADS1115_WE adc = ADS1115_WE(); // Alternative: uses default address 0x48
void setup() {
Wire.begin();
@@ -37,7 +37,7 @@ void setup() {
* ADS1115_RANGE_0512 -> +/- 512 mV
* ADS1115_RANGE_0256 -> +/- 256 mV
*/
- adc.setVoltageRange_mV(ADS1115_RANGE_6144); //comment line/change paramater to change range
+ adc.setVoltageRange_mV(ADS1115_RANGE_6144); //comment line/change parameter to change range
/* Set the inputs to be compared
*
@@ -50,7 +50,7 @@ void setup() {
* ADS1115_COMP_2_GND -> compares 2 with GND
* ADS1115_COMP_3_GND -> compares 3 with GND
*/
- adc.setCompareChannels(ADS1115_COMP_0_GND); //comment line/change paramater to change channels
+ adc.setCompareChannels(ADS1115_COMP_0_GND); //comment line/change parameter to change channels
/* Set number of conversions out of limit after which the alert pin will be active
* - or you can disable the alert (including conversion ready alert)