if(ChooseMode==Set_Level_Value)
{
LCD_write_command(0x01);//清屏
delay(300);
Display_State(0x00,0,"Set The Level");
Display_State(0x06,1,"mm");
while(1)
{
if(KeyScan==ADD)
{
SetLevel=SetLevel+1;
while(KeyScan());
}
if(KeyScan()==MINUS)
{
SetLevel=SetLevel-1;
while(KeyScan());
}
if(KeyScan()==BACK)
{
while(KeyScan());
break;
}
while(KeyScan());
Display_Level(SetLevel);
}
}
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
谢谢哈,问题已解决
一周热门 更多>