点亮数码管 用51单片机点亮数码管,#include"reg52.h"/*头文件,固定不变*/ codea[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0xbf,0x86,0xdb,0xcf,0xe6,0xed};/*定义一个a数组,存放每个数码管所