English
Language : 

SED1374 Datasheet, PDF (167/420 Pages) Epson Company – SED1374 Embedded Memory Color LCD Controller
Epson Research and Development
Vancouver Design Center
Page 71
** Set the memory pointer at the start of each line.
** Pointer = MEM_OFFSET + (Y * Line_Width * BPP / 8) + (X * BPP / 8)
** NOTICE that in SwivelView mode we will use a value of 256
** for the line width value (not 240).
*/
x = 110;
pMem = (LPBYTE)MEM_OFFSET + (y * 256 * BitsPerPixel / 8) +
(x * BitsPerPixel / 8);
for (x = 110; x < 210; x+=2)
{
*pMem = 0x11;
/* Draws 2 pixels in LUT color 1 */
pMem++;
}
}
}
Programming Notes and Examples
Issue Date: 99/04/27
SED1374
X26A-G-002-02