LCDInit();
DisplayOneChar(0,0,'S'); DisplayOneChar(1,0,'R'); DisplayOneChar(2,0,'C'); DisplayOneChar(4,0,'1'); DisplayOneChar(7,0,'T'); DisplayOneChar(8,0,'R'); DisplayOneChar(9,0,'A'); DisplayOneChar(10,0,'C'); DisplayOneChar(11,0,'K'); DisplayOneChar(13,0,'A'); DisplayOneChar(0,1,'V'); DisplayOneChar(1,1,'O'); DisplayOneChar(2,1,'L'); DisplayOneChar(4,1,'1'); DisplayOneChar(5,1,'|'); while(1) { if(!Vol_p) { } if(!Vol_m) {
Delay5Ms(); if(!Vol_m)
Delay5Ms(); if(!Vol_p) {
if(volume<7) { }
volume++; C=volume/4; M=(volume%4)/2; A=volume%2;
DisplayOneChar(volume+5,1,'|');
DisplayOneChar(4,1,dis_num[volume+1]);
}
while(!Vol_p);