用PIC16F877A单片机的控制1个或2个数码管显示程序答://针对于4MHz的PIC单片机 include<pic.h> define uchar unsigned char define uint unsigned int __CONFIG(0x3B31);void init();void delay(uint x);void display(uchar a,uchar b);const uchar table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5...