summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2022-10-24 20:21:43 +0200
committerGitHub <noreply@github.com>2022-10-24 20:21:43 +0200
commitdfc84076e4cb45ad2404e8200033a0392744e6c4 (patch)
treea99cbeaaa4b5e52846f7f563f31f643af0c63b9f
parentUpdate Alert_Window_Mode.ino (diff)
downloadADS1115_WE-dfc84076e4cb45ad2404e8200033a0392744e6c4.tar
ADS1115_WE-dfc84076e4cb45ad2404e8200033a0392744e6c4.tar.gz
ADS1115_WE-dfc84076e4cb45ad2404e8200033a0392744e6c4.tar.bz2
ADS1115_WE-dfc84076e4cb45ad2404e8200033a0392744e6c4.tar.lz
ADS1115_WE-dfc84076e4cb45ad2404e8200033a0392744e6c4.tar.xz
ADS1115_WE-dfc84076e4cb45ad2404e8200033a0392744e6c4.tar.zst
ADS1115_WE-dfc84076e4cb45ad2404e8200033a0392744e6c4.zip
-rw-r--r--examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino9
1 files changed, 4 insertions, 5 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 046b583..9593c35 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
@@ -21,11 +21,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);