freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于mcs-51系列單片機的紅外遙控電路設(shè)計-資料下載頁

2025-01-18 14:17本頁面
  

【正文】 T1 。關(guān)T1中斷 CLR 。關(guān)脈沖輸出 JC SEND1 MOV R3,08H 。發(fā)射0碼SEND0: MOV R4,69H 。0碼低電平 DJNZ R4,$ DJNZ R3,SEND0 AJMP SIG 。轉(zhuǎn)脈沖發(fā)送信號SEND1: MOV R3,02H 。1碼低電平SEND10: MOV R4,8CH DJNZ R4,$ DJNZ R3,SEND10SIG: SETB ET1 。開T1中斷 SETB TR1 。開啟定時器T1 MOV R3,08CH 。發(fā)射脈沖 DJNZ R3,$ CLR TR1 。關(guān)定時器T1 CLR ET1 。關(guān)T1中斷 CLR 。關(guān)脈沖輸出 RET。*************************************。* T1中斷服務(wù)程序 *。*************************************INTT1: CPL 。40kHZ紅外線遙控信號產(chǎn)生 RETI 。中斷返回 END 。程序結(jié)束 附錄 4紅外遙控系統(tǒng)接收部分源程序 ORG 0000H LJMP START ORG 0003H LJMP INTEX0 ORG 0030H PCODE EQU 30H 。識別碼 OPPCODE EQU 31H 。識別碼反碼 BUT EQU 32H 。按鍵碼 OPPBUT EQU 33H 。按鍵反碼 CODENUM EQU 34H 。接收碼數(shù)START: MOV SP,70H MOV IE,00H 。關(guān)所有中斷 SETB EX0 。開外中斷 SETB EA ??傊袛嘣试S MOV PCODE,0ABH 。識別碼初值 MOV OPPCODE,54H 。識別碼反碼初值MAIN: MOV R3,0FFH DJNZ R3,$ 。持續(xù)510微秒 MOV R5,08H MOV R6,P2 MOV R7,08HXUN: CLR C 。對工作狀態(tài)設(shè)備計數(shù) MOV A,R6 RLC A MOV R6,A MOV A,R5 SUBB A,00H MOV R5,A DJNZ R7,XUN MOV A,R5 MOV P1,A 。送LED顯示 LJMP MAIN 。轉(zhuǎn)MAIN循環(huán) NOP 。PC值出錯處理 LJMP START 。出錯時重新初始化。******************************。 遙控接收程序。******************************INTEX0: MOV 35H,A 。采用中斷接收 保護現(xiàn)場 MOV 20H,C CLR EX0 。關(guān)外中斷 JNB ,READ 。 為高電平退出 OUT: SETB EX0 。開中斷(系干擾) MOV A,38H ?;謴同F(xiàn)場 MOV C,20H RETI 。退出中斷 READ: CLR A 。清A 讀取引導碼 MOV DPH,A 。清DPTR MOV DPL,A HEAD: JB ,HEAD01 。 INC DPTR 。用DPTR對低電平計數(shù) MOV R1,04H DJNZ R1,$ AJMP HEAD 。轉(zhuǎn)HARD循環(huán)(循環(huán)周期為16微秒)HEAD01: MOV A,DPH 。DPTR高8位放入A JZ OUT 。為0(脈寬小于16*255=4毫秒)退出 MOV R1,0AH 。3ms低電平HEAD02: MOV R2,96H DJNZ R2,$ DJNZ R1,HEAD02 ACALL READ01 。接收識別碼 CJNE A,PCODE,OUT 。識別碼判定 ACALL READ01 CJNE A,OPPCODE,OUT 。識別碼反碼判定 ACALL READ01 MOV BUT,A 。接收控制碼 ACALL READ01 。接收控制反碼 CPL A CJNE A,BUT,OUT ??刂拼a校驗 ACALL READEND 。接收結(jié)束碼 CJNE A,01H,OUT MOV A,BUT 。按鍵動作FUN1: CJNE A,10H,FUN2 。鍵盤碼查詢并動作 CPL 。P2口各端口開關(guān)輸出控制 LJMP OUT 。轉(zhuǎn)中斷退出FUN2: CJNE A,20H,FUN3 CPL 。P2口各端口開關(guān)輸出控制 LJMP OUT 。轉(zhuǎn)中斷退出FUN3: CJNE A,30H,FUN4 CPL 。P2口各端口開關(guān)輸出控制 LJMP OUT 。轉(zhuǎn)中斷退出FUN4: CJNE A,40H,FUN5 CPL 。P2口各端口開關(guān)輸出控制 LJMP OUT 。轉(zhuǎn)中斷退出FUN5: CJNE A,50H,FUN6 MOV P2,0AAH 。全亮 LJMP OUT 。轉(zhuǎn)中斷退出FUN6: CJNE A,60H,OUT 。查無此人 退回 MOV P2,0FFH 。全滅 LJMP OUT 。轉(zhuǎn)中斷退出READ01: MOV CODENUM,08H 。讀取數(shù)據(jù)碼8位 CLR A 。清A LJMP READ02READEND: MOV CODENUM,01H 。讀取結(jié)束碼 CLR AREAD02: CLR C MOV R1,02H 。READ03: MOV R2,0C8H DJNZ R2,$ DJNZ R1,READ03 MOV C, 。取碼 CPL C 。還原碼值 RLC A 。移位賦值 JB ,$ JNB ,$ DJNZ CODENUM,READ02 RET END 3 附錄 5實物照片:g an employment tribunal claimEmployment tribunals sort out disagreements between employers and employees.You may need to make a claim to an employment tribunal if: you don39。t agree with the disciplinary action your employer has taken against you your employer dismisses you and you think that you have been dismissed unfairly.For more information about dismissal and unfair dismissal, seeDismissal.You can make a claim to an employment tribunal, even if you haven39。tappealedagainst the disciplinary action your employer has taken against you. However, if you win your case, the tribunal may reduce any pensation awarded to you as a result of your failure to appeal.Remember that in most cases you must make an application to an employment tribunal within three months of the date when the event you are plaining about happened. If your application is received after this time limit, the tribunal will not usually accept it.If you are worried about how the time limits apply to you, take advice from one of the organisations listed underFurther help.Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation.Most people find making a claim to an employment tribunal challenging. If you are thinking about making a claim to an employment tribunal, you should get help straight away from one of the organisations listed underFurther help.If you are being represented by a solicitor at the tribunal, they may ask you to sign an agreement where you pay their fee out of your pensation if you win the case. This is known as adamagesbased agreement. In England and Wales, your solicitor can39。t charge you more than 35% of your pensation if you win the case.If you are thinking about signing up for a damagesbased agreement, you should make sure you39。re clear about the terms of the agreement. It might be best to get advice from an experienced adviser, for example, at a Citizens Advice B
點擊復制文檔內(nèi)容
教學教案相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1