51单片机对八位数字秒表的规划

51单片机对八位数字秒表的规划

51单片机对八位数字秒表的设计-#define DIG_NONE 0xff;

#define DIG_1 0x7f

#define DIG_2 0xbf

#define DIG_3 0xdf

#define DIG_4 0xef

#define DIG_5 0xf7

#define DIG_6 0xfb

#define DIG_7 0xfd

#define DIG_8 0xfe

广告

PIC单片机SPI通讯的规划

PIC单片机SPI通信的设计-const uchar table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,

0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};

uchar data_temp;

void delay(uint x);

void init();

void didi(uchar num);

void disp(uchar num1,uchar num2,uchar num3,uchar num4,uchar num5,uchar num6);

void comm(uchar data);

uchar read(uchar add);

void write(uchar add,uchar wdata);

void write_enable();

void main()

51单片机lcd1602

51单片机lcd1602

{Uchari;for(i=0;i16;i++){DispOneChar(i,1,dd++);dd=0x7f;if(dd32)dd=32;}}//显示光标定位voidLocateXY(char…

51单片机程序——点阵字体移动显现

51单片机程序——点阵字体移动显现

includereg52h>defineuintunsignedintunsignedcharcodetab[]={0x7f,0xbf,0xdf,0xef,0xf7,0xfb,0xfd,0xfe

51单片机程序——点阵显现汉字

51单片机程序——点阵显现汉字

includereg52h>defineuintunsignedintunsignedcharcodetab[]={0x7f,0xbf,0xdf,0xef,0xf7,0xfb,0xfd,0xfe

有用C51编程的高档技巧(C51编程)

有用C51编程的高档技巧(C51编程)

实用C51编程的高级技巧(C51编程)一C51热启动代码的编制voidmain(){chardata*HotPoint=(char*)0x7f;if((*HotPoint==0xaa)(

51单片机8×8LED点阵显现数字与字符

51单片机8×8LED点阵显现数字与字符

includeAT89X52Hunsignedcharcodetab[]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};unsignedcharcodedigit

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部