S1D13704 Epson Electronics America, Inc., S1D13704 Datasheet - Page 165

no-image

S1D13704

Manufacturer Part Number
S1D13704
Description
LCD Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S1D13704F00A100
Manufacturer:
EPSON
Quantity:
500
Part Number:
S1D13704F00A100
Manufacturer:
EPSON
Quantity:
1 000
Part Number:
S1D13704F00A200
Manufacturer:
EPSON
Quantity:
1 400
Part Number:
S1D13704F00A200
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/12
**
*/
SET_REG(0x19, 0x00);
/*
** Register 1Ah - Scratch Pad - set to 0
*/
SET_REG(0x1A, 0x00);
/*
** Register 1Bh - SwivelView Mode - set to 0 - disable SwivelView mode
*/
SET_REG(0x1B, 0x00);
/*
** Register 1Ch - Line Byte Count - set to 0 - Not used by landscape mode
*/
SET_REG(0x0C, 0x00);
/*
** Register 1Fh - TestMode - set to 0
*/
SET_REG(0x1F, 0x00);
/*
** Draw a 100x100 red rectangle in the upper left corner (0,0)
** of the display.
*/
for (y = 0; y < 100; y++)
{
}
/*
** Pause here.
*/
getch();
/*
** Clear the display, and all of video memory, by writing 40960 bytes of 0.
/*
** Set the memory pointer at the start of each line.
**
*/
pMem = (LPBYTE)MEM_OFFSET + (y * 320 * BitsPerPixel / 8) + 0;
for (x = 0; x < 100; x+=2)
{
}
Pointer = MEM_OFFSET + (Y * Line_Width * BPP / 8) + (X * BPP / 8)
*pMem = 0x44;
pMem++;
values low should the pins get configured as outputs.
/* Draws 2 pixels with LUT color 4 */
X26A-G-002-03
S1D13704
Page 69

Related parts for S1D13704