From 2e73f1aec042986fae435d68cacafcba8b8ec49f Mon Sep 17 00:00:00 2001 From: martinbra Date: Thu, 30 Jul 2020 00:21:11 -0300 Subject: Fixing some minor typos (continous, maxium and paramater). Keeping "typoed" ADS1115_CONTINOUS enum value for backward compatibilities. --- examples/Single_Shot/Single_Shot.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/Single_Shot/Single_Shot.ino') diff --git a/examples/Single_Shot/Single_Shot.ino b/examples/Single_Shot/Single_Shot.ino index 8a5a198..3b583b2 100644 --- a/examples/Single_Shot/Single_Shot.ino +++ b/examples/Single_Shot/Single_Shot.ino @@ -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 * @@ -71,14 +71,14 @@ void setup() { */ //adc.setConvRate(ADS1115_128_SPS); //uncomment if you want to change the default - /* Set continous or single shot mode: + /* Set continuous or single shot mode: * - * ADS1115_CONTINOUS -> continous mode + * ADS1115_CONTINUOUS -> continuous mode * ADS1115_SINGLE -> single shot mode (default) */ - //adc.setMeasureMode(ADS1115_CONTINOUS); //uncomment if you want to change the default + //adc.setMeasureMode(ADS1115_CONTINUOUS); //uncomment if you want to change the default - /* Choose maximum limit or maxium and minimum alert limit (window)in Volt - alert pin will + /* Choose maximum limit or maximum and minimum alert limit (window)in Volt - alert pin will * be active when measured values are beyond the maximum limit or outside the window * Upper limit first: setAlertLimit_V(MODE, maximum, minimum) * In max limit mode the minimum value is the limit where the alert pin will be deactivated (if -- cgit v1.2.3