Hopefully fix I2C/Wire

Tested with (all at the same time):
- MPU9250
- HTU21
- TMP102
- BMP180
- AM2320
- SSD1306
This commit is contained in:
me-no-dev
2016-12-14 02:41:22 +02:00
parent e92634a92b
commit c19fc061b0
3 changed files with 71 additions and 25 deletions

View File

@ -86,6 +86,8 @@ void TwoWire::begin(int sdaPin, int sclPin, uint32_t frequency)
i2cAttachSCL(i2c, scl);
flush();
i2cInitFix(i2c);
}
void TwoWire::setClock(uint32_t frequency)