void Window28SubProgram1(uchar a,uchar b,uchar c,u8 const *p,uint16_t *d)
{
DotNum = a;
lcdcmd2(0x0a,b,0x21); //设置光标指针
lcdcmd0(0x9f); //设置光标指针
cursor_position=10;
dispchn5(78,c);
dispchn5(84,c);
dispchn5(90,c);
dispchn5(96,c);
dispchn5(102,c);
if(DotNum == 30)
dispchn4(108,c,p);
else
dispchn4(102,c,p);
*d=0;
DisplayPosition=78;
DispEndFlag=0;
}
谢谢大神,你看这样写对吗?好像没警告了
|