89C52单片机之点阵使用
程序:
#include
unsigned char code taba[]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
unsigned char code tabb[]={0x81,0x41,0x21,0x1f,0x05,0x85,0xfd,0x01,
0xff,0x00,0xff};
void delay(unsigned char dly)
{
;
}
void main()
{
{
P0=0x00;
}
}
}
}
}
}
}
}
评论