olikraus / u8glib

Arduino Monochrom Graphics Library for LCDs and OLEDs
https://github.com/olikraus/u8glib/wiki
Other
1.24k stars 313 forks source link

SSD1322 SetContrast Not working. #456

Open BiatuAutMiahn opened 7 years ago

BiatuAutMiahn commented 7 years ago

Hello, I am attempting to set the contrast/brightness on this, but it does not seem to respond to the command.

Thank you

olikraus commented 7 years ago

Development has moved forward to u8g2. Can you check with u8g2?

BiatuAutMiahn commented 7 years ago

I would use u8g2, however it does not support grayscale on my module. or at least I was unable to see grayscale in any of the demos

olikraus commented 7 years ago

You are right, u8g2 does not support grayscale any more.

You could change the code by yourself.

https://github.com/olikraus/u8glib/blob/master/csrc/u8g_dev_ssd1322_nhd31oled_gr.c

lines 252ff

not sure what is not working there...

BiatuAutMiahn commented 7 years ago

hmm, i'll have to compare the changes from this version. U can go ahead and close this, thank you!