summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2020-07-25 21:33:34 +0200
committerGitHub <noreply@github.com>2020-07-25 21:33:34 +0200
commitdb8a97c31e57f81d86262e81771b1833f3fed498 (patch)
treeb82d9468096737d2fb9094cce87c382c200f4010
parentUpdate Alert_Window_Mode.ino (diff)
downloadADS1115_WE-db8a97c31e57f81d86262e81771b1833f3fed498.tar
ADS1115_WE-db8a97c31e57f81d86262e81771b1833f3fed498.tar.gz
ADS1115_WE-db8a97c31e57f81d86262e81771b1833f3fed498.tar.bz2
ADS1115_WE-db8a97c31e57f81d86262e81771b1833f3fed498.tar.lz
ADS1115_WE-db8a97c31e57f81d86262e81771b1833f3fed498.tar.xz
ADS1115_WE-db8a97c31e57f81d86262e81771b1833f3fed498.tar.zst
ADS1115_WE-db8a97c31e57f81d86262e81771b1833f3fed498.zip
-rw-r--r--examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino b/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino
index bfac55f..a91921a 100644
--- a/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino
+++ b/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino
@@ -20,7 +20,7 @@ int ledPin = 10;
volatile bool outOfLimit = false;
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();
@@ -44,7 +44,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
*