4*4键盘扫描代码

4*4键盘扫描代码

includeREG52H>includeintrinsH>includeSTC12C5A60ADHincludeSTC12C5202ADHdefineucharunsignedchar

广告

根据51单片机驱动LCD1602液晶显示thb6064ah细分64

根据51单片机驱动LCD1602液晶显示thb6064ah细分64

includeSTC89C5xRCH>includeintrinsh>defineucharunsignedchardefineuintunsignedintdefineLCD_DBP0s

根据51单片机的双人对战小游戏的完成

根据51单片机的双人对战小游戏的完成

includeAT89X52h>unsignedcharposition1=1;position一共有3种状态,0代表最边上,1代表初始位置,2代表最前的位置unsignedchar

PIC单片机完成流水灯

PIC单片机完成流水灯

includepich>流水灯2009102822:00defineucharunsignedchardefineuintunsignedint__CONFIG(0x3B31);voiddela

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

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

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

51单片机_1602液晶自定义心形图画

51单片机_1602液晶自定义心形图画

includereg51h>unsignedchartable1[]={0x03,0x07,0x0f,0x1f,0x1f,0x1f,0x1f,0x1f,0x18,0x1E,0x1f,0x1f,0

stc12c5a60s2单片机驱动舵机程序

stc12c5a60s2单片机驱动舵机程序

includestc12c5a60s2H>STC12C5A系列单片机defineucharunsignedchardefineuintunsignedint宏定义defineulint

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

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

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

微信扫一扫关注我们

返回顶部