C语言编写的基于单片机的计数器程序
delay(5);
write_com(0x80+0x48); delay(5); write_data('G'); delay(5);
write_com(0x80+0x52); delay(5); write_data(0xD4);
delay(5);
}
void init2() { write_com(0x01);//显示清屏 delay(5); write_com(0x80); delay(5); write_data('A'); delay(5);
write_com(0x80+0x04); delay(5);
write_data('B');