if((y-y0)==csize)
{
y=y0;
x++;
if(x>=lcddev.width)return; //³¬ÇøÓòÁË
break;
}
}
}
}
/*************************************************************
*** º¯Êý¹¦ÄÜ ---> LCDÖ¸¶¨Î»ÖÿªÊ¼ÏÔʾ×Ö·û´®,
*** Èë¿Ú²ÎÊý ---> x,y:Æðµã×ø±ê
*** width,height:ÇøÓò´óС
*** size:×ÖÌå´óС
*** p:×Ö·û´®ÆðʼµØÖ·
*** mode:0,Õý³£ÏÔʾ,1,µþ¼ÓÏÔʾ
**************************************************************/
void LCD_ShowString(unsigned short int x,unsigned short int y,char *p ,unsigned char csize,unsigned char mode)
{
unsigned short int w,h;
switch (csize)
{
case Ch12_6:
{
w = 6; h =12;
break;
}
case Ch16_8:
{
w = 8; h =16;
break;
}
case Ch24_12:
{
w = 12; h =24;
break;
}
}
while(*p!='