summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2020-07-25 21:29:33 +0200
committerGitHub <noreply@github.com>2020-07-25 21:29:33 +0200
commite88151f682925a8d99277148d0ee0117a9be5c65 (patch)
tree631f4d08e9aa45f83ea94a8a85caa330385ff9e0
parentUpdate Continous.ino (diff)
downloadADS1115_WE-e88151f682925a8d99277148d0ee0117a9be5c65.tar
ADS1115_WE-e88151f682925a8d99277148d0ee0117a9be5c65.tar.gz
ADS1115_WE-e88151f682925a8d99277148d0ee0117a9be5c65.tar.bz2
ADS1115_WE-e88151f682925a8d99277148d0ee0117a9be5c65.tar.lz
ADS1115_WE-e88151f682925a8d99277148d0ee0117a9be5c65.tar.xz
ADS1115_WE-e88151f682925a8d99277148d0ee0117a9be5c65.tar.zst
ADS1115_WE-e88151f682925a8d99277148d0ee0117a9be5c65.zip
-rw-r--r--examples/Single_Shot/Single_Shot.ino4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Single_Shot/Single_Shot.ino b/examples/Single_Shot/Single_Shot.ino
index fafaddd..4e5330c 100644
--- a/examples/Single_Shot/Single_Shot.ino
+++ b/examples/Single_Shot/Single_Shot.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
*