Skip to content

ESP32 improve display speed for SSD1306 #380

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

Merged
merged 1 commit into from
Mar 12, 2023
Merged

ESP32 improve display speed for SSD1306 #380

merged 1 commit into from
Mar 12, 2023

Conversation

FREEWING-JP
Copy link
Contributor

@FREEWING-JP FREEWING-JP commented Mar 12, 2023

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 !

  • Original Transfer 17 bytes (ESP32-D0WDQ6)
    image
    image

  • Modded Transfer 128 bytes (ESP32-D0WDQ6)
    image
    image

@marcelstoer
Copy link
Member

Interesting observation. Thanks for the thorough testing 👍

@marcelstoer marcelstoer merged commit f96fd6a into ThingPulse:master Mar 12, 2023
@FREEWING-JP
Copy link
Contributor Author

Thank You !

@thijstriemstra
Copy link
Contributor

thijstriemstra commented Mar 22, 2023

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
Copy link
Member

@thijstriemstra there were actually only 2: 4.3.0...master Still, it's about time for another release.

@thijstriemstra
Copy link
Contributor

Looking forward to a 27% performance gain!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants