按键操控led闪耀程序

includereg51h>sbitp37=P3^7;voiddelay1();voiddelay();voidmain(){unsignedchari=0;unsignedchars[]={0

广告

根据51单片机太阳能电池太阳盯梢设备程序设计

根据51单片机太阳能电池太阳盯梢设备程序设计

includereg51h>includeintrinsh>includeabsacch>defineucharunsignedchardefineuintunsignedintde

PCF8591 AD转化程序

PCF8591 AD转化程序

———————–函数声明,变量定义————————includereg51h>includeintrinsh>sbitSCL=

proteus与keil Cx51的单片机仿真(流水灯)

proteus电路图keilCx51程序:includereg51h>sbitVD9=P0^0;sbitVD10=P0^1;sbitVD11=P0^2;sbitVD12=P0^3;sbitVD1

proteus与keil Cx51的单片机仿真(按键亮灯)

电路图C程序:includereg51h>sbitK01=P1^4;sbitK02=P1^5;sbitK03=P1^6;sbitK04=P1^7;sbitVD17=P3^0;sbitVD18=P

proteus与keil Cx51的单片机仿真(定时器方法2使用)

用定时器1方式二计数,每计满100次,将P10取反。电路图:c源程序:includereg51h>sbitP1_0=P1^0;voidmain(){TMOD=0X61;TL1=0X9C;TH

51单片机行列式键盘扫描程序

51单片机行列式键盘扫描程序

includereg51h>includeintrinsh>defineucharunsignedchardefineuintunsignedintunsignedcharcodeseg7

PCF8583+LM1602的protues仿真实例(C言语)

PCF8583+LM1602的protues仿真实例(C言语)

程序代码:includereg51h>includeintrinsh>includeabsacch>definelcdwritecmdXBYTE[0xFC00]defineledwr

1602字符型LCD显现演示程序

1602字符型LCD显现演示程序

includereg51h>includeintrinsh>typedefunsignedcharBYTE;typedefunsignedintWORD;typedefbitBOOL;sb

按键操控LED

按键操控LED

includereg51h>defineuncharunsignedcharsbitk1=P3^0;sbitk2=P3^1;sbitk3=P3^2;sbitk4=P3^3;sbitk5=P3^4

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

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

微信扫一扫关注我们

返回顶部