C语言编写的基于单片机的计数器程序
case 0xeb:nume++;
total++;
write_com(0x80+0x41); delay(5);
write_data(nume); delay(5);
write_com(0x80+0x53); delay(5); write_data(total); delay(5);
break;
case 0xdb:numf++;
total++;
write_com(0x80+0x45); delay(5); write_data(numf); delay(5);
write_com(0x80+0x53); delay(5); write_data(total); delay(5);