使用電腦控制家電_第1頁
使用電腦控制家電_第2頁
使用電腦控制家電_第3頁
使用電腦控制家電_第4頁
使用電腦控制家電_第5頁
已閱讀5頁,還剩19頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1、使用電腦控制家電VB源程序如下:Dim k As IntegerDim l(8) As IntegerPrivate Sub Command2_Click()'m.PortOpen = False'Form1.Show'Form2.Visible = False'Unload Form2End SubPrivate Sub Ch1_Click()If Ch1.Value = 1 Then Ch1.Caption = "開"If Ch1.Value = 0 Then Ch1.Caption = "關(guān)"l(1) = 0k =

2、0ClsEnd SubPrivate Sub Check1_Click()Text1.Text = Check1.Value + Check2.Value * 2 + Check3.Value * 4 + Check4.Value * 8 + Check5.Value * 16 + Check6.Value * 32 + Check7.Value * 64If Check1.Value = 1 Then Shape1.BackColor = &HFF&If Check1.Value = 0 Then Shape1.BackColor = &HC0C0C0'77H

3、不保存標(biāo)志'FFH結(jié)束標(biāo)志,7E判斷結(jié)束標(biāo)志m.Output = Chr$(Val(&H6)m.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H6) '5ahm.Output = Chr$(Val(&H8)m.Output = Ch

4、r$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5) '5fhm.Output = Chr$(Val(&H7) '50hm.Output = Chr$(Val(&H0)a = Val(Text1.Text)s = Int(a / 16)s1 = sIf s = 10 Then s = "a"If s = 11 Then s = "b"If s = 12 Then s = &quo

5、t;c"If s = 13 Then s = "d"If s = 14 Then s = "e"If s = 15 Then s = "f"f = a - s1 * 16If f = 10 Then f = "a"If f = 11 Then f = "b"If f = 12 Then f = "c"If f = 13 Then f = "d"If f = 14 Then f = "e"If f = 15 Then f = &

6、quot;f"Label2.Caption = Chr$(Val("&H" & s & f)Label1.Caption = "&H" & s & fm.Output = Chr$(Val("&H" & s & f) '控制緩沖單元m.Output = Chr$(Val(&HFF) 'ff是傳輸結(jié)束標(biāo)志'''''''End SubPrivate Sub Check2_Clic

7、k()Text1.Text = Check1.Value + Check2.Value * 2 + Check3.Value * 4 + Check4.Value * 8 + Check5.Value * 16 + Check6.Value * 32 + Check7.Value * 64If Check2.Value = 1 Then Shape2.BackColor = &HFF&If Check2.Value = 0 Then Shape2.BackColor = &HC0C0C0'77H不保存標(biāo)志'FFH結(jié)束標(biāo)志,7E判斷結(jié)束標(biāo)志m.Output

8、 = Chr$(Val(&H6)m.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H6) '5ahm.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val

9、(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5) '5fhm.Output = Chr$(Val(&H7) '50hm.Output = Chr$(Val(&H0)a = Val(Text1.Text)s = Int(a / 16)s1 = sIf s = 10 Then s = "a"If s = 11 Then s = "b"If s = 12 Then s = "c"If s = 13 Then s = "

10、d"If s = 14 Then s = "e"If s = 15 Then s = "f"f = a - s1 * 16If f = 10 Then f = "a"If f = 11 Then f = "b"If f = 12 Then f = "c"If f = 13 Then f = "d"If f = 14 Then f = "e"If f = 15 Then f = "f"Label2.Caption = Chr$(

11、Val("&H" & s & f)Label1.Caption = "&H" & s & fm.Output = Chr$(Val("&H" & s & f) '控制緩沖單元m.Output = Chr$(Val(&HFF) 'ff是傳輸結(jié)束標(biāo)志'''''''End SubPrivate Sub Check3_Click()Text1.Text = Check1.Value + Che

12、ck2.Value * 2 + Check3.Value * 4 + Check4.Value * 8 + Check5.Value * 16 + Check6.Value * 32 + Check7.Value * 64If Check3.Value = 1 Then Shape3.BackColor = &HFF&If Check3.Value = 0 Then Shape3.BackColor = &HC0C0C0'77H不保存標(biāo)志'FFH結(jié)束標(biāo)志,7E判斷結(jié)束標(biāo)志m.Output = Chr$(Val(&H6)m.Output = Chr

13、$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H6) '5ahm.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&

14、H7)m.Output = Chr$(Val(&H5) '5fhm.Output = Chr$(Val(&H7) '50hm.Output = Chr$(Val(&H0)a = Val(Text1.Text)s = Int(a / 16)s1 = sIf s = 10 Then s = "a"If s = 11 Then s = "b"If s = 12 Then s = "c"If s = 13 Then s = "d"If s = 14 Then s = "e&

15、quot;If s = 15 Then s = "f"f = a - s1 * 16If f = 10 Then f = "a"If f = 11 Then f = "b"If f = 12 Then f = "c"If f = 13 Then f = "d"If f = 14 Then f = "e"If f = 15 Then f = "f"Label2.Caption = Chr$(Val("&H" & s &am

16、p; f)Label1.Caption = "&H" & s & fm.Output = Chr$(Val("&H" & s & f) '控制緩沖單元m.Output = Chr$(Val(&HFF) 'ff是傳輸結(jié)束標(biāo)志'''''''End SubPrivate Sub Check4_Click()Text1.Text = Check1.Value + Check2.Value * 2 + Check3.Value * 4 +

17、 Check4.Value * 8 + Check5.Value * 16 + Check6.Value * 32 + Check7.Value * 64If Check4.Value = 1 Then Shape4.BackColor = &HFF&If Check4.Value = 0 Then Shape4.BackColor = &HC0C0C0'77H不保存標(biāo)志'FFH結(jié)束標(biāo)志,7E判斷結(jié)束標(biāo)志m.Output = Chr$(Val(&H6)m.Output = Chr$(Val(&H8)m.Output = Chr$(Val(

18、&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H6) '5ahm.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5) &#

19、39;5fhm.Output = Chr$(Val(&H7) '50hm.Output = Chr$(Val(&H0)a = Val(Text1.Text)s = Int(a / 16)s1 = sIf s = 10 Then s = "a"If s = 11 Then s = "b"If s = 12 Then s = "c"If s = 13 Then s = "d"If s = 14 Then s = "e"If s = 15 Then s = "f&qu

20、ot;f = a - s1 * 16If f = 10 Then f = "a"If f = 11 Then f = "b"If f = 12 Then f = "c"If f = 13 Then f = "d"If f = 14 Then f = "e"If f = 15 Then f = "f"Label2.Caption = Chr$(Val("&H" & s & f)Label1.Caption = "&H

21、" & s & fm.Output = Chr$(Val("&H" & s & f) '控制緩沖單元m.Output = Chr$(Val(&HFF) 'ff是傳輸結(jié)束標(biāo)志'''''''End SubPrivate Sub Check5_Click()Text1.Text = Check1.Value + Check2.Value * 2 + Check3.Value * 4 + Check4.Value * 8 + Check5.Value *

22、 16 + Check6.Value * 32 + Check7.Value * 64If Check5.Value = 1 Then Shape5.BackColor = &HFF&If Check5.Value = 0 Then Shape5.BackColor = &HC0C0C0'77H不保存標(biāo)志'FFH結(jié)束標(biāo)志,7E判斷結(jié)束標(biāo)志m.Output = Chr$(Val(&H6)m.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H

23、9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H6) '5ahm.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5) '5fhm.Output = Chr$(Val(&H7)

24、 '50hm.Output = Chr$(Val(&H0)a = Val(Text1.Text)s = Int(a / 16)s1 = sIf s = 10 Then s = "a"If s = 11 Then s = "b"If s = 12 Then s = "c"If s = 13 Then s = "d"If s = 14 Then s = "e"If s = 15 Then s = "f"f = a - s1 * 16If f = 10 Then f

25、 = "a"If f = 11 Then f = "b"If f = 12 Then f = "c"If f = 13 Then f = "d"If f = 14 Then f = "e"If f = 15 Then f = "f"Label2.Caption = Chr$(Val("&H" & s & f)Label1.Caption = "&H" & s & fm.Output = C

26、hr$(Val("&H" & s & f) '控制緩沖單元m.Output = Chr$(Val(&HFF) 'ff是傳輸結(jié)束標(biāo)志'''''''End SubPrivate Sub Check6_Click()Text1.Text = Check1.Value + Check2.Value * 2 + Check3.Value * 4 + Check4.Value * 8 + Check5.Value * 16 + Check6.Value * 32 + Check7.V

27、alue * 64If Check6.Value = 1 Then Shape6.BackColor = &HFF&If Check6.Value = 0 Then Shape6.BackColor = &HC0C0C0'77H不保存標(biāo)志'FFH結(jié)束標(biāo)志,7E判斷結(jié)束標(biāo)志m.Output = Chr$(Val(&H6)m.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Ou

28、tput = Chr$(Val(&H5)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H6) '5ahm.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5) '5fhm.Output = Chr$(Val(&H7) '50hm.Output = Chr$(Val(&

29、H0)a = Val(Text1.Text)s = Int(a / 16)s1 = sIf s = 10 Then s = "a"If s = 11 Then s = "b"If s = 12 Then s = "c"If s = 13 Then s = "d"If s = 14 Then s = "e"If s = 15 Then s = "f"f = a - s1 * 16If f = 10 Then f = "a"If f = 11 Then f =

30、 "b"If f = 12 Then f = "c"If f = 13 Then f = "d"If f = 14 Then f = "e"If f = 15 Then f = "f"Label2.Caption = Chr$(Val("&H" & s & f)Label1.Caption = "&H" & s & fm.Output = Chr$(Val("&H" & s

31、 & f) '控制緩沖單元m.Output = Chr$(Val(&HFF) 'ff是傳輸結(jié)束標(biāo)志'''''''End SubPrivate Sub Check7_Click()Text1.Text = Check1.Value + Check2.Value * 2 + Check3.Value * 4 + Check4.Value * 8 + Check5.Value * 16 + Check6.Value * 32 + Check7.Value * 64If Check7.Value = 1 Then

32、Shape7.BackColor = &HFF&If Check7.Value = 0 Then Shape7.BackColor = &HC0C0C0'77H不保存標(biāo)志'FFH結(jié)束標(biāo)志,7E判斷結(jié)束標(biāo)志m.Output = Chr$(Val(&H6)m.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5)m.Output =

33、 Chr$(Val(&H7)m.Output = Chr$(Val(&H6) '5ahm.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5) '5fhm.Output = Chr$(Val(&H7) '50hm.Output = Chr$(Val(&H0)a = Val(Text1.Text)s = Int(a /

34、16)s1 = sIf s = 10 Then s = "a"If s = 11 Then s = "b"If s = 12 Then s = "c"If s = 13 Then s = "d"If s = 14 Then s = "e"If s = 15 Then s = "f"f = a - s1 * 16If f = 10 Then f = "a"If f = 11 Then f = "b"If f = 12 Then f = &

35、quot;c"If f = 13 Then f = "d"If f = 14 Then f = "e"If f = 15 Then f = "f"Label2.Caption = Chr$(Val("&H" & s & f)Label1.Caption = "&H" & s & fm.Output = Chr$(Val("&H" & s & f) '控制緩沖單元m.Output = Ch

36、r$(Val(&HFF) 'ff是傳輸結(jié)束標(biāo)志'''''''End SubPrivate Sub Command1_Click()'77H不保存標(biāo)志'FFH結(jié)束標(biāo)志,7E判斷結(jié)束標(biāo)志m.Output = Chr$(Val(&H6)m.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&

37、H5)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H6) '5ahm.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5) '5fhm.Output = Chr$(Val(&H7) '50hm.Output = Chr$(Val(&H0)a = Val(Text1.Text

38、)s = Int(a / 16)s1 = sIf s = 10 Then s = "a"If s = 11 Then s = "b"If s = 12 Then s = "c"If s = 13 Then s = "d"If s = 14 Then s = "e"If s = 15 Then s = "f"f = a - s1 * 16If f = 10 Then f = "a"If f = 11 Then f = "b"If f =

39、12 Then f = "c"If f = 13 Then f = "d"If f = 14 Then f = "e"If f = 15 Then f = "f"Label2.Caption = Chr$(Val("&H" & s & f)Label1.Caption = "&H" & s & fm.Output = Chr$(Val("&H" & s & f) '控制緩沖單元

40、m.Output = Chr$(Val(&HFF) 'ff是傳輸結(jié)束標(biāo)志''''''''m.PortOpen = False'Form1.Show'Form2.Visible = False'Unload Form2End SubPrivate Sub Form_Load()m.InputMode = comInputModeBinarym.InBufferSize = 1024m.InputLen = 1      m.InputMode

41、= 0m.RThreshold = 1m.RTSEnable = Truem.SThreshold = 1m.PortOpen = TrueEnd SubPrivate Sub Label1_Click()Dim a As Integera = Val(Text1.Text)Label1.Caption = "&H" & Val(a)End SubPrivate Sub Timer1_Timer()Form1.Caption = Date & "        

42、      更多內(nèi)容訪問 "Label7.Caption = Timek = k + 1If k = 60 Then l(1) = l(1) + 1: k = 57If l(1) = Val(Text2.Text) And Ch1.Value = 1 ThenCheck1.Value = 1Text1.Text = Check1.Value + Check2.Value * 2 + Check3.Value * 4 + Check4.Value * 8 + Check5.Value * 16 + Check6.Value * 32 +

43、 Check7.Value * 64If Check1.Value = 1 Then Shape1.BackColor = &HFF&If Check1.Value = 0 Then Shape1.BackColor = &HC0C0C0'77H不保存標(biāo)志'FFH結(jié)束標(biāo)志,7E判斷結(jié)束標(biāo)志m.Output = Chr$(Val(&H6)m.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&am

44、p;H7)m.Output = Chr$(Val(&H5)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H6) '5ahm.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5) '5fhm.Output = Chr$(Val(&H7) '50hm.Output = Chr$(

45、Val(&H0)a = Val(Text1.Text)s = Int(a / 16)s1 = sIf s = 10 Then s = "a"If s = 11 Then s = "b"If s = 12 Then s = "c"If s = 13 Then s = "d"If s = 14 Then s = "e"If s = 15 Then s = "f"f = a - s1 * 16If f = 10 Then f = "a"If f = 11

46、 Then f = "b"If f = 12 Then f = "c"If f = 13 Then f = "d"If f = 14 Then f = "e"If f = 15 Then f = "f"Label2.Caption = Chr$(Val("&H" & s & f)Label1.Caption = "&H" & s & fm.Output = Chr$(Val("&H"

47、; & s & f) '控制緩沖單元m.Output = Chr$(Val(&HFF) 'ff是傳輸結(jié)束標(biāo)志'''''''End IfIf l(1) = Val(Text2.Text) And Ch1.Value = 0 ThenCheck1.Value = 0Text1.Text = Check1.Value + Check2.Value * 2 + Check3.Value * 4 + Check4.Value * 8 + Check5.Value * 16 + Check6.Value * 3

48、2 + Check7.Value * 64If Check1.Value = 1 Then Shape1.BackColor = &HFF&If Check1.Value = 0 Then Shape1.BackColor = &HC0C0C0'77H不保存標(biāo)志'FFH結(jié)束標(biāo)志,7E判斷結(jié)束標(biāo)志m.Output = Chr$(Val(&H6)m.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(

49、&H7)m.Output = Chr$(Val(&H5)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H6) '5ahm.Output = Chr$(Val(&H8)m.Output = Chr$(Val(&H3)m.Output = Chr$(Val(&H9)m.Output = Chr$(Val(&H7)m.Output = Chr$(Val(&H5) '5fhm.Output = Chr$(Val(&H7) '50hm.Output = Ch

50、r$(Val(&H0)a = Val(Text1.Text)s = Int(a / 16)s1 = sIf s = 10 Then s = "a"If s = 11 Then s = "b"If s = 12 Then s = "c"If s = 13 Then s = "d"If s = 14 Then s = "e"If s = 15 Then s = "f"f = a - s1 * 16If f = 10 Then f = "a"If f =

51、 11 Then f = "b"If f = 12 Then f = "c"If f = 13 Then f = "d"If f = 14 Then f = "e"If f = 15 Then f = "f"Label2.Caption = Chr$(Val("&H" & s & f)Label1.Caption = "&H" & s & fm.Output = Chr$(Val("&H&q

52、uot; & s & f) '控制緩沖單元m.Output = Chr$(Val(&HFF) 'ff是傳輸結(jié)束標(biāo)志''''''''''''End If'Print k, l(1), Ch1.ValueEnd Sub單片機(jī)程序;定時器Address EQU 08H I2CData EQU 09H SCL BIT P3.4;定義24C02的串行時鐘線 SDA BIT P3.5;定義24C02的串行數(shù)據(jù)線ORG 0000HAJMP STARTORG 000B

53、HAJMP XIANorg 0023hajmp fasong;串行中斷入口ORG 0030H   START:;讀E2PROMMOV 59H,#01FH;要讀出的個數(shù)MOV R0,#070H;緩沖首地址MOV 08H,#000H;24存入的首地址XI6:MOV SP,#60H;堆棧指針MOV I2CDATA,#0AAH ; ;MOV Address,#000HLCALL I2C_READMOV I2CData,A;讀出數(shù)據(jù) MOV R0,AINC 08HINC R0DJNZ 59H,XI6MOV R0,#92HMOV IE,R0MOV TMOD,#22HMOV SCON,#

54、50H;設(shè)置成串口1方式MOV PCON,#80H;波特率翻倍為2400x2=4800BPSMOV TH1,#0F4H;預(yù)置初值(按照波特率2400BPS預(yù)置初值)MOV TL1,#0F4H;預(yù)置初值(按照波特率2400BPS預(yù)置初值)SETB TR1;啟動定時器T1 MOV TL0,#06HMOV TH0,#06H;SETB TR0XI2:MOV IE,#000HMOV R1,#06FH   XI1:CLR TCON.5clr tcon.7INC R1MOV A,R1;顯示保存的數(shù)據(jù)MOV SBUF,AMOV R4,#20HD9:MOV R5,#48HDJNZ R5,$D

55、JNZ R4,D9CJNE R1,#07FH,XI1NOPNOPMOV 5FH,7FHMOV A,5FHCPL AMOV P1,ANOPNOPNOPMOV IE,#092HMOV R0,#92HMOV IE,R0MOV TMOD,#22HMOV SCON,#50H;設(shè)置成串口1方式MOV PCON,#80H;波特率翻倍為2400x2=4800BPSMOV TH1,#0F4H;預(yù)置初值(按照波特率2400BPS預(yù)置初值)MOV TL1,#0F4H;預(yù)置初值(按照波特率2400BPS預(yù)置初值)SETB TR1;啟動定時器T1 MOV TL0,#06HMOV TH0,#06H;SETB TR0

56、60;      XIAN:NOPAJMP XIANTIME:CLR TCON.5clr tcon.7;SETB TR0INC 54H        MOV A,54H;MOV SBUF,A;將AF通過串口發(fā)送出去CJNE A,#0A1H,FANHUIMOV 54H,#000HINC 53HMOV A,53H;MOV SBUF,A;將AF通過串口發(fā)送出去CJNE A,#017H,FANHUIMOV 53H,#000HMOV A,50HMOV SBUF,A;將時通過串口發(fā)送出去noplc

57、all DELAY10nopMOV A,51HMOV SBUF,A;將分通過串口發(fā)送出去lcall DELAY10nopnop MOV A,52HMOV SBUF,A;將秒通過串口發(fā)送出去INC 52HCPL AMOV P1,A        CPL ACJNE A,#03BH,FANHUI;MOV 52H,#000HINC 51H;MOV P1,AACALL XIANGLINGMOV A,51HCJNE A,#03CH,FANHUIMOV 51H,#000HINC 50HACALL XIANGLINGMOV 52h,#01

58、1H;每小時慢17秒調(diào)整MOV A,50HCJNE A,#018H,FANHUIMOV 50H,#000H    FANHUI:RETI ;10毫秒延時子程序    DELAY10:MOV R4,#20HD8:MOV R5,#48HDJNZ R5,$DJNZ R4,D8RET fasong:MOV R1,#70HJBC TI,FAS;發(fā)送子程序,應(yīng)該關(guān)中斷   DENG:JBC RI,SHOU;接收子程序        ajmp deng

59、0;   FAS:NOPRETI   SHOU:MOV R0,#00HMOV IE,R0MOV R1,SBUF;MOV P1,#000hMOV A,R1;顯示保存的數(shù)據(jù)MOV SBUF,AMOV R4,#02HDA:MOV R5,#10HDJNZ R5,$DJNZ R4,DAMOV A,R1INC R1INC R0MOV P1,#0ffhCJNE A,#077H,XIA;77只教師,不保存AJMP FD3XIA:CJNE A,#0FFH,DENG;沒收到結(jié)束標(biāo)志ff,繼續(xù)接收MOV IE,#000H   FD3:;判斷口令6839757,70h-76hmov R0,#070HCJNE R0,#006H,ZANTING1INC R0CJNE R0,#008H,ZANTING1INC R0CJNE R0,#003H,ZANTING1INC R0CJNE R0,#009H,ZANTING1INC R0CJNE

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論