KaeptnBalu / Arduino_Spot_Welder_V3

GNU General Public License v3.0
199 stars 70 forks source link

Slow screen refresh rate #4

Open ignasurba opened 5 years ago

ignasurba commented 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 */

Good luck!

bseishen commented 5 years ago

+1 on this. Redraw times at slow data rate is causing auto pulse to be nowhere accurate. 2sec is more like 10 seconds.