Epson S1D13503 Series Technical Manual page 135

Dot matrix graphics lcd controller
Hide thumbs Also See for S1D13503 Series:
Table of Contents

Advertisement

{ 0x00, 0x00, 0xFC, 0x98, 0x30, 0x64, 0xFC, 0x00 },
{ 0x1C, 0x30, 0x30, 0xE0, 0x30, 0x30, 0x1C, 0x00 },
{ 0x18, 0x18, 0x18, 0x00, 0x18, 0x18, 0x18, 0x00 },
{ 0xE0, 0x30, 0x30, 0x1C, 0x30, 0x30, 0xE0, 0x00 },
{ 0x76, 0xDC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
{ 0x00, 0x10, 0x38, 0x6C, 0xC6, 0xC6, 0xFE, 0x00 },
{ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF } };
pVideoFirstColumn = pVideoStart;
pVideo = pVideoFirstColumn;
//
// Select Memory Bank by reading or writing to port.
//
if (bank == 1)
outp(PanelPortAddr+2, 0);
else
inp(PanelPortAddr+2);
switch (PanelGrayLevel)
{
case 2:
//
// If there are 2 gray levels, there are 8 pixels/byte
//
color &= 0x01;
while (*str != 0)
{
ch = *str++;
if ((ch < ' ') || (ch - ' ' > MAX_FONT-1))
ch = '.';
pFont = &font[ch - ' '][0];
for (y = 0; y < 8; ++y)
{
pVideo = pVideoFirstColumn;
Video = 0;
val = *pFont++;
//
// Since there are 2 gray shades, each bit in the font will be
// represented in video memory as a one bit pixel.
//
if (val & 0x80)
Video |= (color << 7);
if (val & 0x40)
Video |= (color << 6);
if (val & 0x20)
Video |= (color << 5);
if (val & 0x10)
Video |= (color << 4);
if (val & 0x08)
Video |= (color << 3);
if (val & 0x04)
S18A-G-002-02
S1D13503 Programming Notes and Examples
// z
// {
// |
// }
// ~
// 127
// block char
2-59

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1d13503d00aS1d13503f00aS1d13503f01aS1d13503p00c

Table of Contents