Oled display question

As I’m about to get my first oled display and start messing about with it, I have been looking at various things to do with the display.
My question is, is there a way to have contrast control? Or is it just straight on off for the pixels?

According to the datasheet, you can adjust the brightness:

Edit: this is for the display…I assume any breakout board will have resistor on it that you’d have to find.

1 Like

If I remember correctly, there is a brightness adjustment register:

1 Like

Thats good to know.
But what I was really after (sorry I don’t think I asked the right question) is, could we have some pixels fully lit while others are half lit?
Just been going over some bitmap images and some have varying degrees of brightness from the pixels so gives a nice shaded picture.


A bit like this one.

I don’t know if it’s possible in the future, but currently the images used with ProffieOS need to be 1bpp (bit per pixel), which means monochrome, which means only white and black.

1 Like

Ok thank you.

The SSD1306 chip does not support this.
It may well be that other chips do.
Grayscale images will also take a lot more space, so reading from the SD card and feeding them to the display might be slow.

1 Like