ThingPulse / esp8266-oled-ssd1306

Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
https://thingpulse.com
Other
1.98k stars 638 forks source link

ESP32 improve display speed for SSD1306 #380

Closed FREEWING-JP closed 1 year ago

FREEWING-JP commented 1 year ago

This PR is ESP32 improve display speed for SSD1306 .
ESP32 can I2C Transfer Max 128 bytes .
But This library Transfer Max 17 bytes .
So I modded this .

Tested with I2C SSD1306 OLED 128x64
ESP32-D0WDQ6 (revision v1.0)
ESP32-D0WD-V3 (revision v3.0)
ESP32-S3 (revision v0.1)
The drawing speed per screen has increased from 15.80ms to 12.02ms, which is 3.78ms(27% UP) faster !

marcelstoer commented 1 year ago

Interesting observation. Thanks for the thorough testing 👍

FREEWING-JP commented 1 year ago

Thank You !

thijstriemstra commented 1 year ago

Would be great to have a new release so I can try this out. Looks like there were numerous improvements since the last release.

marcelstoer commented 1 year ago

@thijstriemstra there were actually only 2: https://github.com/ThingPulse/esp8266-oled-ssd1306/compare/4.3.0...master Still, it's about time for another release.

thijstriemstra commented 1 year ago

Looking forward to a 27% performance gain!