MobiFlight / CommunityDevices

MIT License
1 stars 1 forks source link

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

Open tigert opened 5 months ago

tigert commented 5 months ago

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.

github-actions[bot] commented 5 months ago

Community folder for this pull request: Community.zip