unsigned char table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};这是共阳极数码管码表()。
A. 对
B. 错
#include#define LED_PORT P2void delay_ms(unsigned int z){unsigned int x,y;for(x=0;x
A. 对
B. 错
#include#define LED_PORT P2void delay_ms(unsigned int z){unsigned int x,y;for(x=0;x
A. 对
B. 错
unsigned char table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};void main(){char i=0;for(i=0;i<10;i++){LED_PORT=table[i];delay_ms(1000);}}上述程序可以显示0-9.()
A. 对
B. 错