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

          新聞中心

          EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > 51單片機(jī)程序——讓點(diǎn)陣動(dòng)起來(lái)

          51單片機(jī)程序——讓點(diǎn)陣動(dòng)起來(lái)

          作者: 時(shí)間:2016-11-23 來(lái)源:網(wǎng)絡(luò) 收藏
          #include
          unsigned char code table[10]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
          void Delay(unsigned int t);
          void main (void)
          {
          unsigned char i;
          P1 = 0xff;
          while (1)
          {
          for(i=0;i<8;i++)
          {
          P0=table[i];
          Delay(50000);
          P0=0xff;
          Delay(50000);
          }
          }
          }
          void Delay(unsigned int t)
          {
          while(--t);
          }



          關(guān)鍵詞: 51單片機(jī)點(diǎn)

          評(píng)論


          技術(shù)專(zhuān)區(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); })();