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);
}
}
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>