bool connect() {
Wire.begin(this->_sda, this->_scl);
// Let's use ~700khz if ESP8266 is in 160Mhz mode
// this will be limited to ~400khz if the ESP8266 in 80Mhz mode.
Wire.setClock(700000);
return true;
}
Clock is at 700Khz, might be possible to up that on ESP32.
See here.
Clock is at 700Khz, might be possible to up that on ESP32.