mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-01 04:50:58 +02:00
Hopefully fix I2C/Wire
Tested with (all at the same time): - MPU9250 - HTU21 - TMP102 - BMP180 - AM2320 - SSD1306
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user