summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2020-07-25 21:28:15 +0200
committerGitHub <noreply@github.com>2020-07-25 21:28:15 +0200
commit700f6be89154b56497a16ad776728da54a41102b (patch)
tree42d599fdd8de04e67a50f27ffb8bee3bac8fd047
parentUpdate library.properties (diff)
downloadADS1115_WE-700f6be89154b56497a16ad776728da54a41102b.tar
ADS1115_WE-700f6be89154b56497a16ad776728da54a41102b.tar.gz
ADS1115_WE-700f6be89154b56497a16ad776728da54a41102b.tar.bz2
ADS1115_WE-700f6be89154b56497a16ad776728da54a41102b.tar.lz
ADS1115_WE-700f6be89154b56497a16ad776728da54a41102b.tar.xz
ADS1115_WE-700f6be89154b56497a16ad776728da54a41102b.tar.zst
ADS1115_WE-700f6be89154b56497a16ad776728da54a41102b.zip
-rw-r--r--examples/Continous/Continous.ino8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/Continous/Continous.ino b/examples/Continous/Continous.ino
index be2fe83..0561dea 100644
--- a/examples/Continous/Continous.ino
+++ b/examples/Continous/Continous.ino
@@ -13,7 +13,7 @@
#define I2C_ADDRESS 0x48
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();
@@ -32,7 +32,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
*
@@ -45,7 +45,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 channel
+ 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
* - or you can disable the alert
@@ -76,7 +76,7 @@ void setup() {
* ADS1115_CONTINOUS -> continous mode
* ADS1115_SINGLE -> single shot mode (default)
*/
- adc.setMeasureMode(ADS1115_CONTINOUS); //comment line/change paramater to change mode
+ adc.setMeasureMode(ADS1115_CONTINOUS); //comment line/change parameter to change mode
/* Choose maximum limit or maxium and minimum alert limit (window)in Volt - alert pin will
* be active when measured values are beyond the maximum limit or outside the window