温湿度检测源程序(temperature and humidity detection source )

温湿度检测源程序(temperature and humidity detection source )

ID:12744051

大小:57.00 KB

页数:41页

时间:2018-07-18

温湿度检测源程序(temperature and humidity detection source )_第1页
温湿度检测源程序(temperature and humidity detection source )_第2页
温湿度检测源程序(temperature and humidity detection source )_第3页
温湿度检测源程序(temperature and humidity detection source )_第4页
温湿度检测源程序(temperature and humidity detection source )_第5页
资源描述:

《温湿度检测源程序(temperature and humidity detection source )》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、温湿度检测源程序2(Temperatureandhumiditydetectionsource2)SCK的位值达泰位2.4SCLEQUP0.5p0.6SDAEQU程序如下:ORG0000HMOVSP,#70hajmp中端org0023hLJMPSRorg0100h中端:MOVTMOD,#20hMOVPCON,#00hMOVTL1,#0fdhMOVTh1、#0fdhSETBTR1MOVSCON,#50hMOV即#90hMOVR0,#21h主营:MOV20H,#55hMOV21H、#40hLCALLWRNSTART1:LCALLchuanganqi该3dh:MO

2、V,30hMOVR2,#40hstart3:LCALL显示djnzR2,start3LCALLRDNLCALL显示MOVA,3dhcjne,3eh,以上上图:JNC以上cjne,3fh,下面下图:JC方面SETBP2.6SETBP2.7LCALL显示LJMPAA11:CLRP2.6SETBP2.7LCALL显示LJMPAA1以下:SETBP2.6CLRP2.7LCALL显示LJMPAA1AA1:JNBP0.0,aa9LJMPSTART1aa9:LCALL极限约翰内斯堡P0.0,ANJIANLJMPSTART1安监:CLRP2.5LCALLRDNmov20h,

3、3ehMOV21H、3fhAB1:JBP0.0,AB2循环抗体2:LCALLAA6AB9:JBP0.1,aa4LCALL极限JBP0.1,aa44:JBP0.1,AB3LJMPAB43:MOVA,20h添加,#01h大一mov20h,一LCALLAA6aa4:JBP0.2,AA5LCALL极限JBP0.2,AA5AB:JBP0.2,AB6LJMPAB5AB6:MOVA,20hCLRCsubb,#01hmov20h,一ANLA,#0fhcjne,#0fh,AACMOVA,20hANLA,#0f0hORL,#09hmov20h,一AAC:LCALLAA6AA5:

4、LCALLAA6JBP0.0,AB9LCALL极限JBP0.0,AB9AB7:JBP0.0,由于LJMPAB7由于:SETBP2.5LCALLWRNLJMPSTART1AA6:MOV30h,20hMOV31h,21hLCALL显示极限:MOVR5、#10DL1:MOVR4,#00h材料:djnzR4,DL2djnzR5,DL1RETchuanganqi:NOPCLRSCKSETB达泰ACALLTS1SETB达泰打个电话ct01setb1nopt001:jnb1,rct01nopnopajmpt001rct01:acallrc01themove60h,r2th

5、emove61h,r3clrcthemover4,60hthemover5,61hthemove3ehr6,#themove80hr7,#acallnsubjncthh1themove62h,r4themove63h,r5ajmptjx1thh1:themove62h,r6themove63h,r7tjx1:clrcthemovetjx2:r4,#00hthemove00hr5,#themover6,62hthemover7,63hthemove#00hr2.themove#64hr3.acallndiv1themove6ah,r6themove6bh,r7

6、nopacallxyshcnopclrscksetb1acallts1nopsetb1acallct11setb1nopt0012:jnb1,rct12ajmpt0012rct12:acallrc01nopthemove64h,r2themove65h,r3themover2,64hthemover3,65hthemover6,64hthemover7,65hacallqkulthemove#27hr2.themove#10hr3.acallndiv1themovea,r6themovetor2.themovea,r7themovetor3.themove#

7、r6,ohithemove18hr7,#acallqkulthemove#00hr2.themove#64hr3.acallndiv1themovea,r6themovetor4.themovea,r7themovetor5.themove#r2,ohithemove#90hr3.acallnaddthemove6eh,r6themove6fh,r7themover2,64hthemover3,65hthemove#r6,ohithemove95hr7,#acallqkulthemove#00hr2.themove#64hr3.acallndiv1themo

8、vea,r6themovetor4.themovea

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。