Open ignasurba opened 5 years ago
With the latest Adafruit_SSD1306 library the I2C clock is ~32kHz, due to wireClk in the library being 0.
The following will fix the issue. Adafruit_SSD1306 display(OLED_RESET); /**< OLED display object */ change to: Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET, 800000L); /**< OLED display object */
Adafruit_SSD1306 display(OLED_RESET); /**< OLED display object */
Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET, 800000L); /**< OLED display object */
Good luck!
+1 on this. Redraw times at slow data rate is causing auto pulse to be nowhere accurate. 2sec is more like 10 seconds.
With the latest Adafruit_SSD1306 library the I2C clock is ~32kHz, due to wireClk in the library being 0.
The following will fix the issue.
Adafruit_SSD1306 display(OLED_RESET); /**< OLED display object */
change to:Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET, 800000L); /**< OLED display object */
Good luck!