Use 8-bit i2c address on LPC platform
Fix #9799 — hopefully not a unicorn
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user