4*4键盘扫描代码

4*4键盘扫描代码

includeREG52H>includeintrinsH>includeSTC12C5A60ADHincludeSTC12C5202ADHdefineucharunsignedchar

广告

ds1302带闹钟功用的单片机操控的时钟程序

ds1302带闹钟功用的单片机操控的时钟程序

端口自己修改一下用的1602液晶显示includereg52h>includeintrinsh>defineucharunsignedchardefineuintunsignedintsb

stc12c5a60s2运用片内AD转化

stc12c5a60s2运用片内AD转化

includereg52h>includeintrinsh>defineuintunsignedintdefineucharunsignedcharsfradc_contr=0xbc;ad

一个改进型的4*4矩阵键盘扫描

一个改进型的4*4矩阵键盘扫描

includereg52h>defineucharunsignedchardefineuintunsignedintuchartemp,num,bai,shi,ge;ucharkey[]={0x

经过I2C芯片EEPRON24C02操控P1口

经过I2C芯片EEPRON24C02操控P1口

通过芯片AT24C02控制P1口。程序:includereg52h>sbitsda=P2^1;sbitscl=P2^0;voiddelay1(){;;;}voiddelay(){intx,y;f

STC89C52单片机驱动CC1101无线模块的发送C言语程序

STC89C52单片机驱动CC1101无线模块的发送C言语程序

includereg52h>includeintrinsh>defineINT8UunsignedchardefineINT16UunsignedintdefineWRITE_BURST

剑杆织布机单片机C言语程序

剑杆织布机单片机C言语程序

includereg52h>includeintrinsh>sbitP3_7=P0^6;点动按钮sbitP3_6=P0^5;单梭按钮sbitP3

STC89C52单片机驱动CC1101无线模块的接纳C言语程序

STC89C52单片机驱动CC1101无线模块的接纳C言语程序

includereg52h>includeintrinsh>defineINT8UunsignedchardefineINT16UunsignedintdefineWRITE_BURST0

51单片机驱动16乘16点阵显现汉字程序

代码:includereg52h>typedefunsignedcharuint8;typedefunsignedintuint16;sbitacon=P1^0;上8位地址线sbitbcon=P

根据51单片机的红外线遥控程序编写代码

根据51单片机的红外线遥控程序编写代码

includereg52h>defineucharunsignedchardefineuintunsignedintunsignedcharcodesmg_du[]={0x3f,0x06,0x5

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

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

微信扫一扫关注我们

返回顶部