<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > proteus與keil Cx51的單片機仿真(定時器方式2應(yīng)用)

          proteus與keil Cx51的單片機仿真(定時器方式2應(yīng)用)

          作者: 時間:2016-11-24 來源:網(wǎng)絡(luò) 收藏
          定時器1方式二計數(shù),每計滿100次,將P1.0取反。

          電路圖:

          本文引用地址:http://www.ex-cimer.com/article/201611/320723.htm



          c源程序:

          #include
          sbit P1_0=P1^0;
          void main()
          {
          TMOD=0X61;
          TL1=0X9C;
          TH1=0X9C;
          TR1=1;
          for( ; ; )
          {
          do {}while(!TF1);
          P1_0=!P1_0;TF1=0;
          }
          }



          評論


          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();