Page 22
Epson Research and Development
Vancouver Design Center
S1D13505
Programming Notes and Examples
X23A-G-003-07
Issue Date: 01/02/05
Color Modes
In color display modes, depending on the color depth, 2 through 256 index entries are used.
The selection of which entries are used is automatic.
1 bpp color
When the S1D13505 is configured for 1 bpp color mode, the LUT is limited to the first two
entries. The two LUT entries can be any two RGB values but are typically set to black-and-
white.
Each byte in the display buffer contains 8 bits, each pertaining to adjacent pixels. A bit
value of '0' results in the LUT 0 index value being displayed. A bit value of '1' results in the
LUT 1 index value being displayed.
The following table shows the recommended values for obtaining a black-and-white mode
while in 1 bpp on a color panel.
2 bpp color
When the S1D13505 is configured for 2 bpp color mode only the first 4 entries of the LUT
are used. These four entries can be set to any desired values.
Each byte in the display buffer contains 4 adjacent pixels. Each pair of bits in the byte are
used as an index into the LUT. The following table shows example values for 2 bpp color
mode.
Table 4-2: Recommended LUT Values for 1 Bpp Color Mode
Index
Red
Green
Blue
00
00
00
00
01
F0
F0
F0
02
00
00
00
...
00
00
00
FF
00
00
00
= Indicates unused entries in the LUT
Table 4-3: Example LUT Values for 2 Bpp Color Mode
Index
Red
Green
Blue
00
00
00
00
01
70
70
70
02
A0
A0
A0
03
F0
F0
F0
04
00
00
00
...
00
00
00
FF
00
00
00
= Indicates unused entries in the LUT