rust-embedded-community / ssd1306

SSD1306 OLED driver
Apache License 2.0
300 stars 68 forks source link

Fix brightness for 72x40 display #141

Closed ew1abz closed 3 years ago

ew1abz commented 3 years ago

72x40 OLED display uses a slightly different driver IC - SSD1306B. The display has only ~30% brightness if the internal Iref is turned off. To fix it, we need to issue a new command for this specific model.

Useful info:

jamwaffles commented 3 years ago

Hey, can you rebase this again please? There's another conflict in the changelog.

I missed that you had update the PR. When you're ready for a review, please hit the Request review button so I get a notification :).

I tested this on my half-dead 72x40 display and nothing seems broken, so I'll get this merged once the conflict is resolved.

ew1abz commented 3 years ago

No problem, James. I rebased and updated PR, ready for review.

jamwaffles commented 3 years ago

This is released in 0.4.2