Page 728 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 728
int i;
int j;
for (j=0; j<=23; j++) //dot 24 height
{
CS_reset;
wr_cmd(0x22);
for (i=15; i>=0; i--) //dot 16 width, auto cousor
{
if ((code[j] & (1<<i))!=0)
textcolor ();
else backcolor ();
}
cou_h ++;
cousor (cou_h, cou_v);
CS_set;
}
}
void extLCD (int lin, char * c) // one line, display it
{
int g=320-16;
cousor (lin,g); //play line - lock
while (*c!=0) //20 gulza
{
int i=0;
LCD_fix (lin, g, *c);
g-=16;
c++;
i++;
if(i>10) break;
}
}
void LCD (int lin, char * c, char * c2) // one line, display it
{
int g=320-16;
cousor (lin,g); //play line - lock
- 721 -