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

          新聞中心

          EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > 51單片機(jī)電子時鐘程序

          51單片機(jī)電子時鐘程序

          作者: 時間:2016-12-01 來源:網(wǎng)絡(luò) 收藏
          這是用單片機(jī)仿真軟件做的一個電子時鐘程序電路圖在下面:


          #include
          #include
          #include
          #define uint unsigned int
          #define uchar unsigned char
          sbit RS=P2^0;
          sbit RW=P2^1;
          sbit E=P2^2;
          sbit BF=P0^7;
          sbit d=P2^3;
          unsigned char code string[]={"Test Result"};
          unsigned char code digit[]={"0123456789"};
          void delay1ms()
          {
          unsigned char i,j;
          for(i=0;i<10;i++)
          for(j=0;j<33;j++);
          }

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

          void delay(unsigned char n)
          {
          unsigned char i;
          for(i=0;i delay1ms();
          }


          上一頁 1 2 下一頁

          關(guān)鍵詞: 51單片機(jī)電子時

          評論


          技術(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); })();