Skip to content
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

Fix contrast and display mode initialisation #55

Merged
merged 2 commits into from
May 10, 2021
Merged

Conversation

Alnef
Copy link
Contributor

@Alnef Alnef commented Apr 10, 2021

Description of the fix

The double byte command OLED_CMD_SET_CONTRAST (SSD1306 datasheet rev 1.1 p.28) was followed by display_mode.
So the contrast was set to 0xA6 or 0xA7 depending on the display mode configured and the display mode itself wasn't configurable.
See the issue #53 for more details.

The double byte command OLED_CMD_SET_CONTRAST (SSD1306 datasheet rev 1.1 p.28) was followed by display_mode.
So the contrast was set to 0xA6 or 0xA7 depending on the display mode configured and the display mode itself wasn't configurable.
Fix contrast and display mode initialisation
@C47D C47D merged commit db51c38 into lvgl:master May 10, 2021
@C47D
Copy link
Collaborator

C47D commented May 10, 2021

Thanks for the patience @Alnef and @tore-espressif

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.

None yet

2 participants