summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2022-10-24 20:23:47 +0200
committerGitHub <noreply@github.com>2022-10-24 20:23:47 +0200
commit2f1f17770d6315f88f8d519b8904b52573b4819e (patch)
tree432e4ce48ecb86228df12828f8c8b91571eefad4
parentUpdate Conv_Ready_Alert_Pin_Controlled.ino (diff)
downloadADS1115_WE-2f1f17770d6315f88f8d519b8904b52573b4819e.tar
ADS1115_WE-2f1f17770d6315f88f8d519b8904b52573b4819e.tar.gz
ADS1115_WE-2f1f17770d6315f88f8d519b8904b52573b4819e.tar.bz2
ADS1115_WE-2f1f17770d6315f88f8d519b8904b52573b4819e.tar.lz
ADS1115_WE-2f1f17770d6315f88f8d519b8904b52573b4819e.tar.xz
ADS1115_WE-2f1f17770d6315f88f8d519b8904b52573b4819e.tar.zst
ADS1115_WE-2f1f17770d6315f88f8d519b8904b52573b4819e.zip
-rw-r--r--examples/Result_Format_Options/Result_Format_Options.ino9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/Result_Format_Options/Result_Format_Options.ino b/examples/Result_Format_Options/Result_Format_Options.ino
index 76ab043..5ee5406 100644
--- a/examples/Result_Format_Options/Result_Format_Options.ino
+++ b/examples/Result_Format_Options/Result_Format_Options.ino
@@ -14,11 +14,10 @@
#define I2C_ADDRESS 0x48
/* 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);