-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flickering 2.0 #32
Comments
The SSD1306 has no clear command so a 128x32 display requires writing 512 bytes to display memory. This take about 24 ms with 400 kHz I2C so your program shows extreme flickering. The SSD1306 runs at a fairly slow refresh rate so this contributes to the flicker. |
I tried a SPI 128x32 display. It does a clear in about 4 ms. I use 8 MHz SPI clock. Flicker is much better. This loop is fairly good with the 10 ms delay.
|
I have the same issue. Adafruit library doesn't have flickering at all. At they write to some buffer (I guess) and then show the updated screen by the display() command. |
Clearing the entire display causes flickering. This is why the Adafruit library has less flicker. The Adafruit library doesn't clear areas that have not changed, it rewrites these areas with the same data. If you selectively rewrite only areas that are modified there will be less flickering. |
Screen is flickering as if literally seeing it refresh. worsening on right side and lower side of screen .
COde:
Chip:
Arduino Nano V3.0, Elegoo Nano board CH340/ATmega328P
Screen:
MakerFocus 2pcs I2C OLED Display Module 0.91 Inch I2C SSD1306 OLED Display Module Blue I2C OLED Screen Driver DC 3.3V~5V for Arduino
The text was updated successfully, but these errors were encountered: