亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲(chóng)蟲(chóng)首頁(yè)| 資源下載| 資源專(zhuān)輯| 精品軟件
登錄| 注冊(cè)

INterrupt-driven

  • 溫濕度傳感器 sht11 仿真程序下載

    溫濕度傳感器 sht11 仿真程序 sbit out =P3^0; //加熱口  //sbit input =P1^1;//檢測(cè)口  //sbit speek =P2^0;//報(bào)警  sbit clo =P3^7;//時(shí)鐘  sbit ST =P3^5;//開(kāi)始  sbit EOC =P3^6;//成功信號(hào)  sbit gwei =P3^4;//個(gè)位  sbit swei =P3^3;//十位 sbit bwei =P3^2;//百位 sbit qwei =P3^1;//千位 sbit speak =P0^0;//報(bào)警音 sbit bjled =P0^1;//報(bào)警燈 sbit zcled =P0^2;//正常LED  int count;  uchar xianzhi;//取轉(zhuǎn)換結(jié)果 uchar seth;//高時(shí)間 uchar setl;//低時(shí)間 uchar seth_mi;//高時(shí)間 uchar setl_mi;//低時(shí)間  bit  hlbz;//高低標(biāo)志  bit  clbz;  bit  spbz;       ///定時(shí)中斷程序/// void t0 (void) interrupt 1 using 0 {     TH0=(65536-200)/256;//5ms*200=1000ms=1s   TL0=(65536-200)%256;  clo=!clo;//產(chǎn)生時(shí)鐘      if(count>5000)   {     if(hlbz)            {       if(seth_mi==0){seth_mi=seth;hlbz=0;out=0;}    else seth_mi--;       }     if(!hlbz)            {       if(setl_mi==0){setl_mi=setl;hlbz=1;out=1;}    else setl_mi--;       }   count=0;   }      else count++;         } ///////////// ///////延時(shí)/////// delay(int i) {    while(--i);          }     ///////顯示處理/////// xianshi() {      int   abcd=0;     int i;     for (i=0;i<5;i++) {   abcd=xianzhi;  gwei=1;  swei=1;  bwei=1;  qwei=1;  P1=dispcode[abcd/1000];   qwei=0;  delay(70);   qwei=1;  abcd=abcd%1000;  P1=dispcode[abcd/100];  bwei=0;  delay(70);  bwei=1;   abcd=abcd%100;  P1=dispcode[abcd/10];  swei=0;  delay(70);  swei=1;  abcd=abcd%10;  P1=dispcode[abcd];  gwei=0;  delay(70);  gwei=1;  } }   doing()   {     if(xianzhi>100)     {bjled=0;speak=1;zcled=1;}  else {bjled=1;speak=0;zcled=0;}   }   void main(void)  {  seth=60;//h60秒  setl=90;//l90秒  seth_mi=60;//h60秒  setl_mi=90;//l90秒  TMOD=0X01;//定時(shí)0 16位工作模式   TH0=(65536-200)/256;   TL0=(65536-200)%256;    TR0=1; //開(kāi)始計(jì)時(shí)  ET0=1;   //開(kāi)定時(shí)0中斷  EA=1;    //開(kāi)全中斷  while(1)  {      ST=0;    _nop_();     ST=1;    _nop_();     ST=0;  //   EOC=0;          xianshi();       while(!EOC)   {         xianshi();    }        xianzhi=P2;             xianshi();     doing();  }  }

    標(biāo)簽: sht 11 溫濕度傳感器 仿真程序

    上傳時(shí)間: 2013-10-16

    上傳用戶:黃蛋的蛋黃

  • A CCITT-16 CRC calculator. The source contains both the calculated (smaller but slower) version, and

    A CCITT-16 CRC calculator. The source contains both the calculated (smaller but slower) version, and the table driven (faster but larger) version.

    標(biāo)簽: calculator calculated contains smaller

    上傳時(shí)間: 2015-01-13

    上傳用戶:s363994250

  • 8051上的CRC8校驗(yàn) A CCITT-8 CRC calculator. The source contains both the calculated (smaller but slower)

    8051上的CRC8校驗(yàn) A CCITT-8 CRC calculator. The source contains both the calculated (smaller but slower) version, and the table driven (faster but larger) version.

    標(biāo)簽: calculator calculated contains smaller

    上傳時(shí)間: 2013-12-13

    上傳用戶:CSUSheep

  • 這是PC機(jī)間相互通信的例子

    這是PC機(jī)間相互通信的例子,程序“require”為用查詢方式實(shí)現(xiàn),程序“interrupt”為用中斷方式實(shí)現(xiàn)

    標(biāo)簽: PC機(jī) 互通

    上傳時(shí)間: 2013-12-19

    上傳用戶:Pzj

  • 匯編作業(yè):sound

    匯編作業(yè):sound,hentobia,interrupt, countnumber,count_numberandtel

    標(biāo)簽: sound 匯編

    上傳時(shí)間: 2013-11-25

    上傳用戶:1101055045

  • 這是PC機(jī)間相互通信的例子

    這是PC機(jī)間相互通信的例子,程序“require”為用查詢方式實(shí)現(xiàn),程序“interrupt”為 用中斷方式實(shí)現(xiàn)

    標(biāo)簽: PC機(jī) 互通

    上傳時(shí)間: 2015-03-28

    上傳用戶:yyq123456789

  • REMOVE removes a TSR. It takes two command line arguments. The first is the name of TSR to be remove

    REMOVE removes a TSR. It takes two command line arguments. The first is the name of TSR to be removed (or an * to remove the last one), and the second is a file name which MUST contain the interrupt vectors to be loaded when the TSR is removed.

    標(biāo)簽: TSR arguments removes command

    上傳時(shí)間: 2013-12-09

    上傳用戶:wys0120

  • 8259A中斷控制器實(shí)驗(yàn) 253A的計(jì)數(shù)器0為工作方式0

    8259A中斷控制器實(shí)驗(yàn) 253A的計(jì)數(shù)器0為工作方式0,裝入時(shí)間常數(shù)FFFFH,結(jié)束中斷時(shí)顯示信息:8253A INTERRUPT EXPERIMENT!

    標(biāo)簽: 8259A 253A 中斷控制器 實(shí)驗(yàn)

    上傳時(shí)間: 2015-04-15

    上傳用戶:fhzm5658

  • The following Philips LPC2k CAN examples in this directory were provided by ESAcademy. LPC2_CANA

    The following Philips LPC2k CAN examples in this directory were provided by ESAcademy. LPC2_CANAll_V110: Receives all CAN messages in a receive queue. LPC2_CANFull_V110: Uses Full-CAN-like reception filtering. LPC2_CANBlinky_V130: Minimal example of MicroCANopen, uses Full-CAN-like reception filtering and implements both Rx and Tx Interrupt Service Routines.

    標(biāo)簽: ESAcademy following directory examples

    上傳時(shí)間: 2015-04-25

    上傳用戶:hasan2015

  • The following Philips LPC2k CAN examples in this directory were provided by ESAcademy. LPC2_CANA

    The following Philips LPC2k CAN examples in this directory were provided by ESAcademy. LPC2_CANAll_V110: Receives all CAN messages in a receive queue. LPC2_CANFull_V110: Uses Full-CAN-like reception filtering. LPC2_CANBlinky_V130: Minimal example of MicroCANopen, uses Full-CAN-like reception filtering and implements both Rx and Tx Interrupt Service Routines.

    標(biāo)簽: ESAcademy following directory examples

    上傳時(shí)間: 2013-12-13

    上傳用戶:牛津鞋

主站蜘蛛池模板: 灌南县| 鹤壁市| 义马市| 河西区| 林口县| 封丘县| 柏乡县| 油尖旺区| 湘乡市| 嘉义县| 如东县| 同心县| 祥云县| 郑州市| 瑞金市| 泰来县| 吴江市| 会东县| 曲阜市| 镇原县| 固镇县| 邛崃市| 金沙县| 神农架林区| 河曲县| 东山县| 梁山县| 怀宁县| 景东| 武穴市| 铜山县| 诸暨市| 西吉县| 镶黄旗| 榆中县| 台东县| 辽中县| 虹口区| 罗甸县| 松滋市| 唐山市|