diff options
author | Wolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de> | 2022-10-24 20:24:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 20:24:38 +0200 |
commit | 3890ddd0e0a37292670d417cd439169d77c6529f (patch) | |
tree | 437e0e7fb7f74da9558f2b9d9759ff970ab51097 | |
parent | Update Single_Shot.ino (diff) | |
download | ADS1115_WE-3890ddd0e0a37292670d417cd439169d77c6529f.tar ADS1115_WE-3890ddd0e0a37292670d417cd439169d77c6529f.tar.gz ADS1115_WE-3890ddd0e0a37292670d417cd439169d77c6529f.tar.bz2 ADS1115_WE-3890ddd0e0a37292670d417cd439169d77c6529f.tar.lz ADS1115_WE-3890ddd0e0a37292670d417cd439169d77c6529f.tar.xz ADS1115_WE-3890ddd0e0a37292670d417cd439169d77c6529f.tar.zst ADS1115_WE-3890ddd0e0a37292670d417cd439169d77c6529f.zip |
Diffstat (limited to '')
-rw-r--r-- | examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino b/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino index 8009dcc..1dd58ea 100644 --- a/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino +++ b/examples/Single_Shot_Conv_Ready_Controlled/Single_Shot_Conv_Ready_Controlled.ino @@ -15,11 +15,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);
|