summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2022-10-24 20:23:13 +0200
committerGitHub <noreply@github.com>2022-10-24 20:23:13 +0200
commit8e2ac064bd69d4c6ea99a34f98443b3f9e892764 (patch)
tree791e6d8cc24d5ec2f31c9e18427c4be34cd65ca8
parentUpdate Auto_Range.ino (diff)
downloadADS1115_WE-8e2ac064bd69d4c6ea99a34f98443b3f9e892764.tar
ADS1115_WE-8e2ac064bd69d4c6ea99a34f98443b3f9e892764.tar.gz
ADS1115_WE-8e2ac064bd69d4c6ea99a34f98443b3f9e892764.tar.bz2
ADS1115_WE-8e2ac064bd69d4c6ea99a34f98443b3f9e892764.tar.lz
ADS1115_WE-8e2ac064bd69d4c6ea99a34f98443b3f9e892764.tar.xz
ADS1115_WE-8e2ac064bd69d4c6ea99a34f98443b3f9e892764.tar.zst
ADS1115_WE-8e2ac064bd69d4c6ea99a34f98443b3f9e892764.zip
-rw-r--r--examples/Conv_Ready_Alert_Pin_Controlled/Conv_Ready_Alert_Pin_Controlled.ino9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/Conv_Ready_Alert_Pin_Controlled/Conv_Ready_Alert_Pin_Controlled.ino b/examples/Conv_Ready_Alert_Pin_Controlled/Conv_Ready_Alert_Pin_Controlled.ino
index ab900d8..c0cbd53 100644
--- a/examples/Conv_Ready_Alert_Pin_Controlled/Conv_Ready_Alert_Pin_Controlled.ino
+++ b/examples/Conv_Ready_Alert_Pin_Controlled/Conv_Ready_Alert_Pin_Controlled.ino
@@ -19,11 +19,10 @@ int interruptPin = 2;
volatile bool convReady = 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);