summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2022-10-24 20:20:37 +0200
committerGitHub <noreply@github.com>2022-10-24 20:20:37 +0200
commit683d3fffd51e3ffbf34a5b3e2f9777e5d06304a7 (patch)
tree02287678ee11be32cb07fda80e86a01484aff392 /examples
parentAdd files via upload (diff)
downloadADS1115_WE-683d3fffd51e3ffbf34a5b3e2f9777e5d06304a7.tar
ADS1115_WE-683d3fffd51e3ffbf34a5b3e2f9777e5d06304a7.tar.gz
ADS1115_WE-683d3fffd51e3ffbf34a5b3e2f9777e5d06304a7.tar.bz2
ADS1115_WE-683d3fffd51e3ffbf34a5b3e2f9777e5d06304a7.tar.lz
ADS1115_WE-683d3fffd51e3ffbf34a5b3e2f9777e5d06304a7.tar.xz
ADS1115_WE-683d3fffd51e3ffbf34a5b3e2f9777e5d06304a7.tar.zst
ADS1115_WE-683d3fffd51e3ffbf34a5b3e2f9777e5d06304a7.zip
Diffstat (limited to 'examples')
-rw-r--r--examples/Continuous/Continuous.ino9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/Continuous/Continuous.ino b/examples/Continuous/Continuous.ino
index ec16f9b..5946662 100644
--- a/examples/Continuous/Continuous.ino
+++ b/examples/Continuous/Continuous.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);