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

no-image

S1D13705

Manufacturer Part Number
S1D13705
Description
S1d13705 Embedded Memory Lcd Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S1D1370500A1
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Part Number:
S1D13705F00A100
Manufacturer:
EPSON
Quantity:
1 831
Part Number:
S1D13705F00A200
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/13
/*
** Register 17h - Look-Up Table Data
**
*/
pLUT = LUT;
for (tmp = 0; tmp < 16; tmp++)
{
}
/*
** Clear all of video memory by writing 81920 bytes of 0.
*/
pMem = p13705;
for (tmp = 0; tmp < MEM_SIZE; tmp++)
{
};
/*
** Draw a 100x100 red rectangle in the upper left corner (0,0)
** of the display.
*/
for (y = 0; y < 100; y++)
{
}
/*
** Wait for the user to press a key before continuing.
*/
printf("Press any key to continue");
getch();
/*
** Set and use PORTRAIT mode.
*/
/*
SET_REG(0x17, *pLUT);// Set Red
pLUT++;
SET_REG(0x17, *pLUT);// Set Green
pLUT++;
SET_REG(0x17, *pLUT);// Set Blue
pLUT++;
*pMem = 0;
pMem++;
/*
** Set the memory pointer at the start of each line.
**
*/
pMem = p13705 + (y * 320 * BitsPerPixel / 8) + 0;
for (x = 0; x < 100; x++)
{
}
Pointer = MEM_OFFSET + (Y * Line_Width * BPP / 8) + (X * BPP / 8)
*pMem = 0x4;/* Draw a pixel with LUT color 4 */
pMem++;
- Write 16 RGB triplets to the LUT.
X27A-G-002-02
S1D13705
Page 73

Related parts for S1D13705