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

正文內(nèi)容

基于at89s51的汽車智能報(bào)警系統(tǒng)的設(shè)計(jì)-資料下載頁(yè)

2024-11-12 15:35本頁(yè)面

【導(dǎo)讀】的測(cè)距技術(shù)、紅外線傳感器控測(cè)技術(shù)相結(jié)合,實(shí)現(xiàn)的汽車防盜、防撞報(bào)警系統(tǒng)。微型化、數(shù)字顯示的汽車防盜防撞報(bào)警器。對(duì)汽車的測(cè)距,利用單片機(jī)的實(shí)時(shí)控制和數(shù)據(jù)處理功能,完成系統(tǒng)的控制。給出了報(bào)警系統(tǒng)的硬件電路原理及軟件設(shè)計(jì)。

  

【正文】 CH CLR FCHP LCALL PXS2 LCALL DEL1S MOV R0, 50H MOV R6, 6 MOV R7, 0H NOP LCALL WR_I2 CLR SPEAKER LCALL DEL1S SETB SPEAKER PCH: MOV R0, 40H MOV R1, 60H MOV LENGTH, 0 AJMP KEYPRO KEYSCAN: MOV P1, 0F0H NOP NOP MOV A, P1 XRL A, 0F0H JZ NOKEY MOV P1, 0FH NOP NOP MOV A, P1 XRL A, 0FH JZ NOKEY LCALL DEL10M MOV P1, 0F0H NOP NOP MOV A, P1 MOV HANG, A XRL A, 0F0H JZ NOKEY MOV P1, 0FH NOP NOP MOV A, P1 MOV LIE, A XRL A, 0FH JZ NOKEY BACK: MOV P1, 0F0H NOP NOP MOV A, P1 XRL A, 0F0H JNZ BACK MOV A, HANG JNB , HANG1 JNB , HANG2 JNB , HANG3 JNB , HANG4 AJMP NOKEY NOKEY: RET HANG1: MOV HANG, 0 AJMP PLIE HANG2: MOV HANG, 1 AJMP PLIE HANG3: MOV HANG, 2 AJMP PLIE HANG4: MOV HANG, 3 AJMP PLIE PLIE: MOV A, LIE JNB , LIE1 JNB , LIE2 JNB , LIE3 JNB , LIE4 AJMP NOKEY LIE1: MOV LIE, 0 AJMP PCODE LIE2: MOV LIE, 1 AJMP PCODE LIE3: MOV LIE, 2 AJMP PCODE LIE4: MOV LIE, 3 AJMP PCODE PCODE: MOV A, HANG MOV B, 4 MUL AB ADD A, LIE MOV JIANZHI, A RET COMPARE: PUSH ACC PUSH PSW CLR RS0 SETB RS1 CLR BEQUAL MOV A, LENGTH CJNE A, 4, CMP MOV R0, 40H MOV R1, 50H MOV R4, 4 CMP1: MOV A, @R0 MOV 5FH, @R1 CJNE A, 5FH, CMP2 INC R0 INC R1 DJNZ R4, CMP1 SETB BEQUAL MOV R0, 50H MOV R6, 4 MOV R7, 0 NOP LCALL RD_I2 AJMP CMP CMP2: INC FERROR MOV A, FERROR CJNE A, 3, CMP MOV R0, 50H MOV R6, 4 MOV R7, 10H NOP LCALL RD_I2 MOV R0, 50H MOV R1, 60H MOV R4, 4 CMLP: MOV A, @R0 MOV @R1, A INC R0 INC R1 DJNZ R4, CMLP LCALL PXS LCALL DEL1S CMP: MOV R0, 40H MOV R1, 60H MOV LENGTH, 0 CLR RS0 CLR RS1 POP PSW POP ACC RET RD_I2: NOP NOP LCALL START MOV A, I2_WCOMM LCALL WRBYT LCALL CHK_ACK JB F0, RD_I2 MOV A, R7 LCALL WRBYT LCALL CHK_ACK JB F0, RD_I2 LCALL START MOV A, I2_RCOMM LCALL WRBYT LCALL CHK_ACK JB F0, RD_I2 RD_N: NOP NOP LCALL RD_BYTE MOV @R0, A DJNZ R6, GO_ACK LCALL N_ACK NOP LCALL STOP MOV A, 0FFH RET GO_ACK: NOP NOP INC R0 LCALL ACK JMP RD_N WR_I2: NOP NOP LCALL START MOV A, I2_WCOMM LCALL WRBYT LCALL CHK_ACK JB F0, WR_I2 MOV A, R7 LCALL WRBYT LCALL CHK_ACK JB F0, WR_I2 WR_N: NOP NOP MOV A, @R0 LCALL WRBYT LCALL CHK_ACK JB F0, WR_I2 INC R0 DJNZ R6, WR_N NOP LCALL STOP MOV A, 0FFH RET START: NOP NOP SETB SDA SETB SCL NOP NOP CLR SDA NOP NOP CLR SCL NOP RET STOP: NOP NOP CLR SDA SETB SCL NOP NOP SETB SDA NOP NOP CLR SCL NOP RET ACK: NOP NOP CLR SDA SETB SCL NOP NOP CLR SCL SETB SDA NOP RET N_ACK: NOP NOP SETB SDA SETB SCL NOP NOP CLR SCL CLR SDA NOP RET CHK_ACK: NOP NOP SETB SDA NOP NOP SETB SCL NOP NOP MOV C, SDA MOV F0, C CLR SCL NOP NOP RET RD_BYTE:NOP NOP SETB SDA MOV R5, 8 RD_B: NOP NOP CLR SCL NOP NOP SETB SCL NOP NOP MOV C, SDA RLC A NOP NOP SETB SDA CLR SCL DJNZ R5, RD_B NOP RET WRBYT: MOV R5, 8 WLP: RLC A JC WR1 CLR SDA SETB SCL NOP NOP CLR SCL DJNZ R5, WLP RET WR1: SETB SDA SETB SCL NOP NOP CLR SCL CLR SDA DJNZ R5, WLP RET WR_BYTE: NOP NOP MOV R5, 8 WR_B: NOP NOP SETB SDA RLC A JC WR_1 CLR SDA NOP WR_1: SETB SCL NOP NOP CLR SCL NOP CLR SDA NOP DJNZ R5, WR_B NOP RET PXS: PUSH ACC PUSH PSW SETB RS0 CLR RS1 MOV R0, 60H MOV R6, 4 PXS1: MOV A, @R0 MOV DPTR, TABLE MOVC A, @A+DPTR MOV SBUF, A JNB TI, $ INC R0 DJNZ R6, PXS1 CLR RS0 CLR RS1 POP PSW POP ACC RET TABLE: DB 11H, 0D7H, 32H, 92H DB 0D4H, 98H, 18H, 0D1H DB 10H, 90H, 0FFH, 0FEH DB 54H PXS2: PUSH ACC PUSH PSW SETB RS0 SETB RS1 MOV R1, 6BH MOV R5, 4 CLR A XSLP: MOV @R1, A DEC R1 INC A DJNZ R5, XSLP MOV R0, 68H MOV R6, 4 PXS3: MOV A, @R0 MOV DPTR, TABLE2 MOVC A, @A+DPTR MOV SBUF, A JNB TI, $ INC R0 DJNZ R6, PXS3 CLR RS0 CLR RS1 POP PSW POP ACC RET TABLE2: DB 54H, 38H, 3DH, 3DH, 11H, 0FFH TIN0: PUSH ACC PUSH PSW MOV TH0, 3CH MOV TL0, 0B0H JNB FLING, TIN01 INC LTIME MOV A, LTIME CJNE A, 10, XLING CLR FLING MOV LTIME, 0 SETB SPEAKER AJMP TIN01 XLING: CLR SPEAKER TIN01: POP PSW POP ACC RETI DEL10M: MOV R7, 100 DEL1: MOV R6, 50 DJNZ R6, $ DJNZ R7, DEL1 RET DEL100M: MOV R4, 10 DEL3: LCALL DEL10M DJNZ R4, DEL3 RET DEL1S: MOV R5, 10 DEL4: LCALL DEL100M DJNZ R5, DEL4 RET END
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1