Skip to content

added setContrast method for the GNC255 oled device (recreated PR)#10

Open
tigert wants to merge 1 commit into
MobiFlight:mainfrom
tigertfly:gnc255-oled-contrast
Open

added setContrast method for the GNC255 oled device (recreated PR)#10
tigert wants to merge 1 commit into
MobiFlight:mainfrom
tigertfly:gnc255-oled-contrast

Conversation

@tigert

@tigert tigert commented Jan 31, 2024

Copy link
Copy Markdown

Description of changes

Fixes #9

The Contrast setting PR got lost in the repo reorg apparently, so I recreated it.
It seems to work OK, (tested on RP2040 and Mega), so I made a new PR.

The device json file change was already in.

And yes, "contrast" is really Brightness on an OLED, so it is shown to the user as "brightness" (device json) but the code says Contrast, because that's what the lcd library function is called.

@tigert tigert requested a review from DocMoebiuz as a code owner January 31, 2024 01:06
@github-actions

Copy link
Copy Markdown

Community folder for this pull request:
Community.zip

@tigert tigert changed the title added setContrast method for the oled (recreated PR) added setContrast method for the GNC255 oled device (recreated PR) Feb 3, 2024
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.

SetContrast was lost in the repo reorganisation

1 participant