日本a√视频在线,久久青青亚洲国产,亚洲一区欧美二区,免费g片在线观看网站

        <style id="k3y6c"><u id="k3y6c"></u></style>
        <s id="k3y6c"></s>
        <mark id="k3y6c"></mark>
          
          

          <mark id="k3y6c"></mark>

          新聞中心

          EEPW首頁 > 嵌入式系統 > 設計應用 > XS128單片機實驗:B口燈交替閃亮

          XS128單片機實驗:B口燈交替閃亮

          作者: 時間:2016-12-01 來源:網絡 收藏
          #include /* common defines and macros */
          #include "derivative.h" /* derivative-specific definitions */
          #include "WQ.h"
          //This is the firstprogramof mine,its used to text the board;
          //LED will twinkle in very fast speed;
          void DELAY(int y)
          {
          int i,x;
          for (i=y;i>0;i--)
          for(x=220;x>0;x--);
          }
          void main(void) {
          DDRB =0XFF; //置1,作為輸出口
          while(1){
          PORTB=0x55;
          DELAY(550);
          PORTB=0XAA;
          DELAY(550);
          }

          }


          評論


          技術專區(qū)

          關閉