18B20温度1602显现

晶振12mhzincludereg51h>sbitRS=P2^0;RS数据和指令sbitRW=P2^1;读和写sbitEN=P2^2;读取时能sbitbusy=P0^7;sb

广告

51单片机的出租车计价器C51程序

51单片机的出租车计价器C51程序

已通过模拟测试includereg52h>unsignedcharcir_num,pwm_mach,temp,distance,wait_time,price,distance;unsigned

51单片机制造霓虹灯的程序+电路图

霓虹灯的电路图:霓虹灯的51单片机程序:includereg52h>defineucharunsignedchardefineuintunsignedintsbitRED_LED=

ADC0832模数转化51单片机程序与电路图

ADC0832模数转化51单片机程序与电路图

includeAT89x51h>includeintrinsh>defineuintunsignedintdefineucharunsignedchar******************

VITECH微型步进电机51c代码

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

使用串口输入整数简略代码

一开始想利用中断,最终还是利用代码。includereg52h>defineucharunsignedchardefineuintunsignedintucharcodetab[

异或妙用

includestringh>voidmain(void){inta=15,b=24;printf(a=%db=%dn,a,b);a=a^b;b=b^a;a=a^b;printf(a=%db=%

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

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

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

C++ 函数重载比如

函数重载代码示例includeiostreamh>intqq(inta,intb);intqq(intk);doubleqq(doublex,doubley);voidmain(){intx

AVR单片机驱动高精度AD芯片ADS1256的C程序

AVR单片机驱动高精度AD芯片ADS1256的C程序

includeavrioh>includeavrinterrupth>includeavrsignalh>**************************************

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

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

微信扫一扫关注我们

返回顶部