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??
Looking for #include for blue/yellow oled
-
- Posts: 9749
- Joined: Thu Nov 26, 2015 4:08 am
Re: Looking for #include for blue/yellow oled
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
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...
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
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.
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.
-
- Posts: 9749
- Joined: Thu Nov 26, 2015 4:08 am
Re: Looking for #include for blue/yellow oled
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: Baidu [Spider] and 106 guests