Tarneem
Newbie level 6
Hi ;
I m facing problem in taking inputs from the user by using push buttons ~
Here is the code of the function that taking from the user the inputs ..
(inc= increments , Dec= decrements , Next to exit )
this is just to have the input form the user ,, but in each time that i clicked , it shows me garbage values ..
Any one can help ..??
Plz :-(
I m facing problem in taking inputs from the user by using push buttons ~
Here is the code of the function that taking from the user the inputs ..
(inc= increments , Dec= decrements , Next to exit )
Code:
Timerr() // set Timer
{
k=1;
minutes=0;
while(K!=6)
{
if(inc==0)
{minutes++;
Lcd_Cmd(0xc0);
Lcd_Out_Cp(minutes);
}
if(dec==0)
{
minutes=minutes--;
Lcd_Cmd(0xc3);
Lcd_Out_Cp(minutes);
}
if(next==0)
{k=6;while(next==0);}
}
}
this is just to have the input form the user ,, but in each time that i clicked , it shows me garbage values ..
Any one can help ..??
Plz :-(