请将下列程序补充完整, 根据下图设计一个数码0到9的顺序显示。 1.pdsprj #include
#define uchar unsigned char #define uint unsigned int uchar code LedCode[ ]={0Xc0,0Xf9,0XA4,0xB0,0x99,0x92,0x82,0Xf8,0x80,0x90}; / / 根据程序定义变量 void delay(uchar x) { uchar k; while(x--) { for(k=0;k<125;k++); } } void main(void) { P0= LedCode[0]; while(1) { } }