From 2cde3f5d673fdd2b3ce9503d6350313624442cb1 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Wolle) Ewald" Date: Fri, 3 Sep 2021 16:27:55 +0200 Subject: Update ADS1115_WE.cpp --- src/ADS1115_WE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3