summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2022-10-24 20:21:21 +0200
committerGitHub <noreply@github.com>2022-10-24 20:21:21 +0200
commit35e43fa1f193c499095a53c33720e1b86ee6cd2a (patch)
treea616c899775d2219b5f04884bfe4ab9d234dae48
parentAdd files via upload (diff)
downloadADS1115_WE-35e43fa1f193c499095a53c33720e1b86ee6cd2a.tar
ADS1115_WE-35e43fa1f193c499095a53c33720e1b86ee6cd2a.tar.gz
ADS1115_WE-35e43fa1f193c499095a53c33720e1b86ee6cd2a.tar.bz2
ADS1115_WE-35e43fa1f193c499095a53c33720e1b86ee6cd2a.tar.lz
ADS1115_WE-35e43fa1f193c499095a53c33720e1b86ee6cd2a.tar.xz
ADS1115_WE-35e43fa1f193c499095a53c33720e1b86ee6cd2a.tar.zst
ADS1115_WE-35e43fa1f193c499095a53c33720e1b86ee6cd2a.zip
-rw-r--r--examples/Alert_Window_Mode/Alert_Window_Mode.ino9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/Alert_Window_Mode/Alert_Window_Mode.ino b/examples/Alert_Window_Mode/Alert_Window_Mode.ino
index eb8aa77..046c8c7 100644
--- a/examples/Alert_Window_Mode/Alert_Window_Mode.ino
+++ b/examples/Alert_Window_Mode/Alert_Window_Mode.ino
@@ -19,11 +19,10 @@ int ledPin = 10;
volatile bool outOfLimit = false;
/* There are several ways to create your ADS1115_WE object:
- * ADS1115_WE adc = ADS1115_WE() -> uses Wire / I2C Address = 0x48
- * ADS1115_WE adc = ADS1115_WE(I2C_ADDRESS) -> uses Wire / I2C_ADDRESS
- * ADS1115_WE adc = ADS1115_WE(&wire2) -> uses the TwoWire object wire2 / I2C_ADDRESS
- * ADS1115_WE adc = ADS1115_WE(&wire2, I2C_ADDRESS) -> all together
- * Successfully tested with two I2C busses on an ESP32
+ * ADS1115_WE adc = ADS1115_WE(); -> uses Wire / I2C Address = 0x48
+ * ADS1115_WE adc = ADS1115_WE(I2C_ADDRESS); -> uses Wire / I2C_ADDRESS
+ * ADS1115_WE adc = ADS1115_WE(&Wire); -> you can pass any TwoWire object / I2C Address = 0x48
+ * ADS1115_WE adc = ADS1115_WE(&Wire, I2C_ADDRESS); -> all together
*/
ADS1115_WE adc = ADS1115_WE(I2C_ADDRESS);