summaryrefslogtreecommitdiffstats
path: root/src/ADS1115_WE.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ADS1115_WE.h')
-rw-r--r--src/ADS1115_WE.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ADS1115_WE.h b/src/ADS1115_WE.h
index 19f7aff..488cf3e 100644
--- a/src/ADS1115_WE.h
+++ b/src/ADS1115_WE.h
@@ -112,11 +112,9 @@ typedef enum ADS1115_STATUS_OR_START{
class ADS1115_WE
{
public:
- ADS1115_WE(int addr);
- ADS1115_WE(); // uses default I2C Address 0x48
+ ADS1115_WE(int addr = 0x48);
#ifndef USE_TINY_WIRE_M_
- ADS1115_WE(TwoWire *w, int addr);
- ADS1115_WE(TwoWire *w);
+ ADS1115_WE(TwoWire *w, int addr = 0x48);
#endif
void reset();