summaryrefslogtreecommitdiffstats
path: root/examples/Single_Shot
diff options
context:
space:
mode:
authorWolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de>2022-10-24 20:24:10 +0200
committerGitHub <noreply@github.com>2022-10-24 20:24:10 +0200
commit641f21d3e24685e082c571450b935a8592c4c19b (patch)
treec2443904aace3dd938d04c2c8095f9a30f149b28 /examples/Single_Shot
parentUpdate Result_Format_Options.ino (diff)
downloadADS1115_WE-641f21d3e24685e082c571450b935a8592c4c19b.tar
ADS1115_WE-641f21d3e24685e082c571450b935a8592c4c19b.tar.gz
ADS1115_WE-641f21d3e24685e082c571450b935a8592c4c19b.tar.bz2
ADS1115_WE-641f21d3e24685e082c571450b935a8592c4c19b.tar.lz
ADS1115_WE-641f21d3e24685e082c571450b935a8592c4c19b.tar.xz
ADS1115_WE-641f21d3e24685e082c571450b935a8592c4c19b.tar.zst
ADS1115_WE-641f21d3e24685e082c571450b935a8592c4c19b.zip
Diffstat (limited to 'examples/Single_Shot')
-rw-r--r--examples/Single_Shot/Single_Shot.ino9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/Single_Shot/Single_Shot.ino b/examples/Single_Shot/Single_Shot.ino
index f1f7dc6..787d34f 100644
--- a/examples/Single_Shot/Single_Shot.ino
+++ b/examples/Single_Shot/Single_Shot.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);