C语言编写的基于单片机的计数器程序
total--;
write_com(0x80+0x09); delay(5);
write_data(numc); delay(5);
write_com(0x80+0x53); delay(5);
write_data(total); delay(5);
break;
case 0x7d:numd--;
total--;
write_com(0x80+0x13); delay(5);
write_data(numd); delay(5);
write_com(0x80+0x53); delay(5); write_data(total); delay(5);
break;