Micro Controller Project Help
case 'B':
state=0;
LCD_write(CTRL_WR,LCD_HOME_L2);
break;
case 'C':
if(++min>59) min=0;
time[3]=min/10+48;
time[4]=min%10+48;
Time_inState=5;
break;
case 3:
LCD_write(CTRL_WR,LCD_HOME_L1);
DisplayString(LCD_LINE1,time);
LCD_write(CTRL_WR,LCD_HOME_L2);
DisplayString(LCD_LINE2,"SET day ");
if(Time_inState==0)
state=0;
switch(getcommand())
case 'A':
state=4;
Time_inState=5;
break;
case 'B':
state=0;
LCD_write(CTRL_WR,LCD_HOME_L2);
DisplayString(LCD_LINE2," ");
break;
case 'C':
if(++day_number>6) day_number=0;
time[6]=day[day_number][0];
time[7]=day[day_number][1];
Time_inState=5;
break;
break;
Assignment Help | Micro Controller Assignment Help | Micro Controller Homework Help | Micro Controller Project Help | Online Tutoring | Sample Homework