diff options
Diffstat (limited to '')
-rw-r--r-- | src/ADS1115_WE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ADS1115_WE.cpp b/src/ADS1115_WE.cpp index 823948a..e8fb677 100644 --- a/src/ADS1115_WE.cpp +++ b/src/ADS1115_WE.cpp @@ -336,7 +336,7 @@ uint16_t ADS1115_WE::readRegister(uint8_t reg){ uint16_t regValue = 0;
_wire->beginTransmission(i2cAddress);
_wire->write(reg);
- _wire->endTransmission();
+ _wire->endTransmission(false);
_wire->requestFrom(i2cAddress,2);
if(_wire->available()){
MSByte = _wire->read();
|