U8G Library SSD1322 Contrast not working


u8g library, oled 256 x 64, ssd1322 controller

constructor u8glib_nhd31oled_gr u8g (2 bit)

setcontrast not working, display half brightness

i tried u8glib_nhd31oled_bw (1 bit) , gives maximum brightness white bands @ sides of display

i compared 2 c files (u8g_dev_ssd1322_nhd31oled_bw.c , u8g_dev_ssd1322_nhd31oled_gr.c) , found setcontrast address wrong 0x81 instead of 0xc1 changing did not help.

has found fix this?

thanks
glenn

hi,
with "bw" constructor u8g.setcontrast(0...255) should work with
the "gr" should use u8g.setcolorindex (0...3).


Arduino Forum > Using Arduino > Displays > U8G Library SSD1322 Contrast not working


arduino

Comments