diff options
author | Wolfgang (Wolle) Ewald <wolfgang.ewald@wolles-elektronikkiste.de> | 2022-10-15 12:43:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 12:43:08 +0200 |
commit | 1f0be8aad72257d38400061b2e5908e5749339ef (patch) | |
tree | 4b80e638428ab18abb7e2c0cdbe596ccb50c7f16 /src/ADS1115_WE.cpp | |
parent | Update README.md (diff) | |
download | ADS1115_WE-1f0be8aad72257d38400061b2e5908e5749339ef.tar ADS1115_WE-1f0be8aad72257d38400061b2e5908e5749339ef.tar.gz ADS1115_WE-1f0be8aad72257d38400061b2e5908e5749339ef.tar.bz2 ADS1115_WE-1f0be8aad72257d38400061b2e5908e5749339ef.tar.lz ADS1115_WE-1f0be8aad72257d38400061b2e5908e5749339ef.tar.xz ADS1115_WE-1f0be8aad72257d38400061b2e5908e5749339ef.tar.zst ADS1115_WE-1f0be8aad72257d38400061b2e5908e5749339ef.zip |
Diffstat (limited to 'src/ADS1115_WE.cpp')
-rw-r--r-- | src/ADS1115_WE.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ADS1115_WE.cpp b/src/ADS1115_WE.cpp index a3e3214..5028bf9 100644 --- a/src/ADS1115_WE.cpp +++ b/src/ADS1115_WE.cpp @@ -23,23 +23,11 @@ ADS1115_WE::ADS1115_WE(int addr){ i2cAddress = addr;
}
-ADS1115_WE::ADS1115_WE(){
-#ifndef USE_TINY_WIRE_M_
- _wire = &Wire;
-#endif
- i2cAddress = 0x48;
-}
-
#ifndef USE_TINY_WIRE_M_
ADS1115_WE::ADS1115_WE(TwoWire *w, int addr){
_wire = w;
i2cAddress = addr;
}
-
-ADS1115_WE::ADS1115_WE(TwoWire *w){
- _wire = w;
- i2cAddress = 0x48;
-}
#endif
|