51单片机C编程(三、4位数码管飞入效果)
时间:11-27
来源:互联网
点击:
4位数码管飞入效果,PROTEUS仿真电路图如下:
#include
#define uchar unsigned char
#define LED P0
uchar code tab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff};//共阳数码管数字码
uchar disp1[8][4]={{8,10,10,10},{0,8,10,10},{5,0,8,10},{1,5,0,8},{10,1,5,0},{10,10,1,5},{10,10,10,1},{10,10,10,10}};
uchar scan;
void delay1ms(int);
void display(int);
void main()
{
}
void display(int m)
{
}
void delay1ms(int x)
{
}
51单片机C编程数码管飞入效 相关文章:
- 51单片机C编程(十四 数码管飞入效果)(11-27)
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)