Use 8-bit i2c address on LPC platform

Fix #9799 — hopefully not a unicorn
This commit is contained in:
Scott Lahteine
2019-02-20 06:26:36 -06:00
parent 631d867dc9
commit a43e892fb5
8 changed files with 30 additions and 24 deletions

View File

@@ -81,7 +81,7 @@ void TWIBus::send() {
debug(PSTR("send"), this->addr);
#endif
Wire.beginTransmission(this->addr);
Wire.beginTransmission(I2C_ADDRESS(this->addr));
Wire.write(this->buffer, this->buffer_s);
Wire.endTransmission();