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

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

INTerrupt-driven

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

    溫濕度傳感器 sht11 仿真程序 sbit out =P3^0; //加熱口  //sbit input =P1^1;//檢測口  //sbit speek =P2^0;//報警  sbit clo =P3^7;//時鐘  sbit ST =P3^5;//開始  sbit EOC =P3^6;//成功信號  sbit gwei =P3^4;//個位  sbit swei =P3^3;//十位 sbit bwei =P3^2;//百位 sbit qwei =P3^1;//千位 sbit speak =P0^0;//報警音 sbit bjled =P0^1;//報警燈 sbit zcled =P0^2;//正常LED  int count;  uchar xianzhi;//取轉換結果 uchar seth;//高時間 uchar setl;//低時間 uchar seth_mi;//高時間 uchar setl_mi;//低時間  bit  hlbz;//高低標志  bit  clbz;  bit  spbz;       ///定時中斷程序/// void t0 (void) interrupt 1 using 0 {     TH0=(65536-200)/256;//5ms*200=1000ms=1s   TL0=(65536-200)%256;  clo=!clo;//產生時鐘      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++;         } ///////////// ///////延時/////// 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;//定時0 16位工作模式   TH0=(65536-200)/256;   TL0=(65536-200)%256;    TR0=1; //開始計時  ET0=1;   //開定時0中斷  EA=1;    //開全中斷  while(1)  {      ST=0;    _nop_();     ST=1;    _nop_();     ST=0;  //   EOC=0;          xianshi();       while(!EOC)   {         xianshi();    }        xianzhi=P2;             xianshi();     doing();  }  }

    標簽: sht 11 溫濕度傳感器 仿真程序

    上傳時間: 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.

    標簽: calculator calculated contains smaller

    上傳時間: 2015-01-13

    上傳用戶:s363994250

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

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

    標簽: calculator calculated contains smaller

    上傳時間: 2013-12-13

    上傳用戶:CSUSheep

  • 這是PC機間相互通信的例子

    這是PC機間相互通信的例子,程序“require”為用查詢方式實現,程序“interrupt”為用中斷方式實現

    標簽: PC機 互通

    上傳時間: 2013-12-19

    上傳用戶:Pzj

  • 匯編作業:sound

    匯編作業:sound,hentobia,interrupt, countnumber,count_numberandtel

    標簽: sound 匯編

    上傳時間: 2013-11-25

    上傳用戶:1101055045

  • 這是PC機間相互通信的例子

    這是PC機間相互通信的例子,程序“require”為用查詢方式實現,程序“interrupt”為 用中斷方式實現

    標簽: PC機 互通

    上傳時間: 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.

    標簽: TSR arguments removes command

    上傳時間: 2013-12-09

    上傳用戶:wys0120

  • 8259A中斷控制器實驗 253A的計數器0為工作方式0

    8259A中斷控制器實驗 253A的計數器0為工作方式0,裝入時間常數FFFFH,結束中斷時顯示信息:8253A INTERRUPT EXPERIMENT!

    標簽: 8259A 253A 中斷控制器 實驗

    上傳時間: 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.

    標簽: ESAcademy following directory examples

    上傳時間: 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.

    標簽: ESAcademy following directory examples

    上傳時間: 2013-12-13

    上傳用戶:牛津鞋

主站蜘蛛池模板: 锡林郭勒盟| 栖霞市| 黄浦区| 连城县| 水富县| 上饶市| 信丰县| 博爱县| 徐水县| 永川市| 崇明县| 平陆县| 松桃| 祁阳县| 余干县| 和政县| 新竹县| 始兴县| 齐齐哈尔市| 高唐县| 屏东县| 博罗县| 磴口县| 楚雄市| 余江县| 边坝县| 四子王旗| 孙吴县| 湾仔区| 永嘉县| 伊金霍洛旗| 白山市| 鄂尔多斯市| 色达县| 璧山县| 凌海市| 香格里拉县| 太康县| 博客| 太仓市| 徐水县|