Looking for #include for blue/yellow oled

ChrisRUK
Posts: 3
Joined: Sun Dec 05, 2021 12:26 am

Looking for #include for blue/yellow oled

Postby ChrisRUK » Sun Dec 05, 2021 12:39 am

Apologies if this is the wrong section, wrong forum,.....

I'm trying the display on a
0.96 Inch ESP32 ESP-32 OLED Display 18650 Lithium Battery WiFi Bluetooth Shield Development Board CP2102 Module

ssd1306

On arrival there's a demo blue/yellow display.
I can program it with text/graphics, but only White. Does anyone know where I can get the include file for blue and yellow??

ESP_Sprite
Posts: 8926
Joined: Thu Nov 26, 2015 4:08 am

Re: Looking for #include for blue/yellow oled

Postby ESP_Sprite » Sun Dec 05, 2021 2:34 am

That's a monochrome (as in: single color pixel) OLED driver. You get screens that use this driver in various colors: half-yellow/half-blue is one type, all-white is another. My guess is that you have the all-white version: without either swapping the display for a yellow/blue one or more barbaric measures like applying paint, you're not gonna get colors out of it.

ChrisRUK
Posts: 3
Joined: Sun Dec 05, 2021 12:26 am

Re: Looking for #include for blue/yellow oled

Postby ChrisRUK » Sun Dec 05, 2021 11:13 am

Ha! Right display, wrong driver then.
As I said, when you first power the thing up, you get Hello World and some whizzy wotsits in blue and yellow, but when I use the only driver software/example I've found so far (as above), which contains
text.color= WHITE (or something very like it)
I get white (ish) text. Tried substituting BLUE for WHITE, no change.

I'm using the arduino ide, is there a different one? Personally I'm green...

ChrisRUK
Posts: 3
Joined: Sun Dec 05, 2021 12:26 am

Re: Looking for #include for blue/yellow oled

Postby ChrisRUK » Sun Dec 05, 2021 7:27 pm

I replied - did that get lost??
It's a blue/yellow display.
On arrival there's a demo program stored. Running it shows blue and yellow. My example program shows white only.
Changing where it says something like set text.color = WHITE to set text.color = BLUE makes no difference.

ESP_Sprite
Posts: 8926
Joined: Thu Nov 26, 2015 4:08 am

Re: Looking for #include for blue/yellow oled

Postby ESP_Sprite » Mon Dec 06, 2021 1:54 am

Hm, do you have the listing, or maybe pix of the display, both when showing white and when showing blue/yellow pixels? Perhaps someone here can recognize it and point you at the correct driver.

Who is online

Users browsing this forum: OSCPUDEV and 108 guests