CelliesProjects / aquacontrol32

5 channel aquarium LED controller with web interface for ESP32 boards. Supports DS18B20, SSD1306, ILI9341, XPT2046 and SmartConfig. Arduino IDE.
MIT License
62 stars 20 forks source link

Check if SSD1306Wire.h can possibly be made faster. #2

Closed CelliesProjects closed 6 years ago

CelliesProjects commented 7 years ago

See here.

    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.