diff options
author | Wolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de> | 2020-07-25 21:36:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-25 21:36:10 +0200 |
commit | 4cb338458cf49e4f2e76b603cad26dfe3adca78b (patch) | |
tree | 4aefebca68c3b5dc77809f9ed4213284f6d97dcf /examples | |
parent | Update Single_Shot_Conv_Ready_Alert_Controlled.ino (diff) | |
download | ADS1115_WE-4cb338458cf49e4f2e76b603cad26dfe3adca78b.tar ADS1115_WE-4cb338458cf49e4f2e76b603cad26dfe3adca78b.tar.gz ADS1115_WE-4cb338458cf49e4f2e76b603cad26dfe3adca78b.tar.bz2 ADS1115_WE-4cb338458cf49e4f2e76b603cad26dfe3adca78b.tar.lz ADS1115_WE-4cb338458cf49e4f2e76b603cad26dfe3adca78b.tar.xz ADS1115_WE-4cb338458cf49e4f2e76b603cad26dfe3adca78b.tar.zst ADS1115_WE-4cb338458cf49e4f2e76b603cad26dfe3adca78b.zip |
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino b/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino index 28051c3..3eb4626 100644 --- a/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino +++ b/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino @@ -14,7 +14,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();
@@ -33,7 +33,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
*
@@ -46,7 +46,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 channels
+ adc.setCompareChannels(ADS1115_COMP_0_GND); //comment line/change parameter to change channels
/* Set number of conversions after which the alert pin will be active
* - or you can disable the alert
@@ -70,7 +70,7 @@ void setup() { * ADS1115_475_SPS
* ADS1115_860_SPS
*/
- adc.setConvRate(ADS1115_8_SPS); //comment line/change paramater to change SPS
+ adc.setConvRate(ADS1115_8_SPS); //comment line/change parameter to change SPS
/* Set continous or single shot mode:
*
|