Digole
©DIGITAL
SOLUTIONS

Serial Display emulator    New Display User manual

Forum login or
Login:
Password:
  
Forum Catagory
Digole Serial Display (215)
  12864 LCD/OLED module (24)
  24064 LCD module (3)
  Color LCD Modules (29)
  Color OLED module (21)
  Online Emulater (5)
  Universal GLCD module (1)
  Universal Text LCD module (2)
Mini Display Panels (0)
  Mini LCDs (0)
  Mini OLEDs (0)
Pattern Drive Module (0)
~Buy & Sell on Digole (2)
~Others~ (5)
Forum : Digole Serial Display : Color OLED module :

 Search Forum.. 
 Creat New Topic   Reply 

OLED Color chart / color lookup table for setColor()

Hello,
I have  a 1.8" Serial: UART/I2C/SPI True Color OLED160x128 OLED display and I need some
programming information about the "SCB" Set Color for following display;
setColor(1) Arduino command
 

Please advise how the display color is determined or how RGB is calculated or is there a chart
showing what the values 0 - 255 mean ?
 

Regards

Paul

RE:OLED Color chart / color lookup table for setColor()

There are 2 color systems on this module, 8bit and 18 bit, the 18 bit is easy understanding, each color occupy 6bit, so 3 bytes data needed for 18bit system, for the 8 bit color system, each color were assigned as follow:

B7  B6  B5  B4  B3  B2  B1  B0

R     R    R    G    G    B    B    B

In order to comaptible with older Black/White Digole serial display, the color:1 map to color 255 (White)

So, the available color for RGB are:

Red: 0 ~ 7
Green: 0 ~ 3
Blue: 0 ~ 7

The value of 255 is the brightest white, 0B01001010 is the darkest grey, due to Green value only have 4 steps, so there are only 3 steps on grey.

RE:OLED Color chart / color lookup table for setColor()

Thankyou Victor

 

Cheers

Paul

 

Copyright Digole Digital Solutions/Digole Technologies Inc., 2008-2026. All rights reserved.
Powered by Digole