summaryrefslogtreecommitdiffstats
path: root/examples/Single_Shot/Single_Shot.ino
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Single_Shot/Single_Shot.ino')
-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
*