Page 1 of 1
Looking for #include for blue/yellow oled
Posted: Sun Dec 05, 2021 12:39 am
by ChrisRUK
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??
Re: Looking for #include for blue/yellow oled
Posted: Sun Dec 05, 2021 2:34 am
by ESP_Sprite
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.
Re: Looking for #include for blue/yellow oled
Posted: Sun Dec 05, 2021 11:13 am
by ChrisRUK
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...
Re: Looking for #include for blue/yellow oled
Posted: Sun Dec 05, 2021 7:27 pm
by ChrisRUK
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.
Re: Looking for #include for blue/yellow oled
Posted: Mon Dec 06, 2021 1:54 am
by ESP_Sprite
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.