DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

DVK1815Z-A0 Ver la hoja de datos (PDF) - Solomon Systech

Número de pieza
componentes Descripción
Fabricante
DVK1815Z-A0
Solomon
Solomon Systech  Solomon
DVK1815Z-A0 Datasheet PDF : 7 Pages
1 2 3 4 5 6 7
void delay(unsigned int n)
{
unsigned int i;
unsigned int j;
for (i=0;i<500;i++)
for (j=0;j<n*2;j++) { ;}
}
/* wait n seconds*/
void resetchip()
{
unsigned int i;
controlport=RES_CSL;
for (i=1;i<500;i++);
dataport = 0xff;
dataport = 0xff;
dataport = 0xff;
for (i=1;i<500;i++);
controlport=RES_CSH;
}
void SingleCmd(unsigned char i)
/* send the value in the accumulator to LCD driver as a command*/
{
dataport=i;
controlport=WC_CSH;
controlport=WC_CSL;
controlport=WC_CSH;
}
void SingleData(unsigned char i)
/* send the value in the accumulator to LCD driver as a command*/
{
dataport=i;
controlport=WD_CSH;
controlport=WD_CSL;
controlport=WD_CSH;
}
void SetRAMAddr (unsigned char Page, unsigned char Col)
{
unsigned char temp;
temp = 0x0f & Page;
SingleCmd(PageAddr | temp);
temp = 0x0f & (Col >> 4);
SingleCmd(ColAddrHi | temp);
temp = 0x0f & Col;
SingleCmd(ColAddrLo | temp);
}
void SetContrast(unsigned char Gain, Step) {
SingleCmd(IntRegRatio | (0x0f & Gain));
SingleCmd(ContCtrlReg);
DVK1815Z-A0
5
Rev 0.1
08/2000
SOLOMON

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]