Closed tuxBurner closed 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
As explained in the issue at https://github.com/ThingPulse/esp8266-oled-ssd1306/issues/147#issuecomment-359548357 there's need for this indirection. Just call Wire.setClock(100000);
any time.
I had the problem that on my odroid go (ESP32) the display was messed up while drawing.
I figured out, that i have to set the Wire.setClock from 700000 to 100000 to get the display showing up correctly.
This feature was already requested in issue #147 :)
I left the constructor with the default value of 700000 so it should not have any impact on other users using this library.
To set the clock speed just pass it in the constructor
SSD1306Wire display(0x3c, D3, D5, GEOMETRY_128_64 ,100000);