51单片机C编程(三.4位数码管飞入效果)
4位数码管飞入效果.PROTEUS仿真电路图如下:#include#define uchar unsigned char#define LED P0uchar code tab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff};//共阳数码管数字码uchar disp1[8][4]...
51单片机C编程(十四 数码管飞入效果)
#include#define uchar unsigned char#define LED P0uchar 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...
学习笔记-avr单片机C编程1