单片机8级七彩流水突变

单片机8级七彩流水突变

includereg51h>sbitsent=P3^7;bitflag=0;sbitp35=P3^5;sbitp34=P3^4;sbitp31=P3^1;sbitp30=P3^0;sbitp17

广告

根据89S51的实时数字温度计(DS1302 18B20)

includereg51h>includeintrinsh>includemathh>defineucharunsignedchardefineuintunsignedintdefi

VITECH微型步进电机51c代码

2相步进电机驱动程序includereg51h>sbits1=P1^0;sbits2=P1^1;sbitspeedadd=P1^6;加速sbitspeeddel=P1^7;减速voidde

10秒的秒表程序,带暂停

10秒的秒表程序,带暂停

includereg51h>unsignedcharcodeseg7[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}数码管码表unsi

RS-485的多机通讯程序(主机端)

RS-485的多机通讯程序(主机端)

———————–函数声明,变量定义———————includereg51h>sbitRE_DE=P1^0;defineCOUNT10定义

128*64代码进化版显现时,分,秒

显示结果:芯片晶振110592includereg51h>defineucharunsignedchardefineuintunsignedintdefinedataportP0数据

C51单片机的3*3矩阵键盘程序

C51单片机的3*3矩阵键盘程序

includereg51h>includedish>**延时1**用于消抖voiddelay1(void){uchari;for(i=0;i200;i++);}****延时2*******

51单片机驱动ADC0809的C言语程序

51单片机驱动ADC0809的C言语程序

includereg51h>includeintrinsh>defineucharunsignedchardefineuintunsignedintsbitCLK=P1^3;sbitST=

数码管按键移动位数闪耀试验

数码管按键移动位数闪耀试验

includereg51h>defineucharunsignedchardefineuintunsignedintsbitk1=P1^0;voiddelay(uintk){while(k–)

80C51单片机经过模仿SPI口驱动UZZ9001读写操作

80C51单片机经过模仿SPI口驱动UZZ9001读写操作

includereg51h>includeabsacch>includeintrinsh>includemathh>sbitCS=P2^0;sbitCLK

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

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

微信扫一扫关注我们

返回顶部