From e88151f682925a8d99277148d0ee0117a9be5c65 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Wolle) Ewald" Date: Sat, 25 Jul 2020 21:29:33 +0200 Subject: Update Single_Shot.ino --- examples/Single_Shot/Single_Shot.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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 * -- cgit v1.2.3