diff options
author | Wolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de> | 2021-05-14 17:37:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 17:37:31 +0200 |
commit | 67fad4efcb3adc53a697d3d138b2981b1d1b1400 (patch) | |
tree | cfd30620201490cfb2fe27d457399106f9e9218c /src/ADS1115_WE.h | |
parent | Update Auto_Range.ino (diff) | |
download | ADS1115_WE-67fad4efcb3adc53a697d3d138b2981b1d1b1400.tar ADS1115_WE-67fad4efcb3adc53a697d3d138b2981b1d1b1400.tar.gz ADS1115_WE-67fad4efcb3adc53a697d3d138b2981b1d1b1400.tar.bz2 ADS1115_WE-67fad4efcb3adc53a697d3d138b2981b1d1b1400.tar.lz ADS1115_WE-67fad4efcb3adc53a697d3d138b2981b1d1b1400.tar.xz ADS1115_WE-67fad4efcb3adc53a697d3d138b2981b1d1b1400.tar.zst ADS1115_WE-67fad4efcb3adc53a697d3d138b2981b1d1b1400.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ADS1115_WE.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ADS1115_WE.h b/src/ADS1115_WE.h index 3af248b..2a81342 100644 --- a/src/ADS1115_WE.h +++ b/src/ADS1115_WE.h @@ -108,6 +108,8 @@ class ADS1115_WE public: ADS1115_WE(int addr); ADS1115_WE(); // uses default I2C Address 0x48 + ADS1115_WE(TwoWire *w, int addr); + ADS1115_WE(TwoWire *w); void reset(); bool init(); @@ -266,6 +268,7 @@ public: private: + TwoWire *_wire; uint16_t voltageRange; ADS1115_MEASURE_MODE deviceMeasureMode; int i2cAddress; |