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

          新聞中心

          EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > 51單片機擴展6264靜態(tài)RAM程序

          51單片機擴展6264靜態(tài)RAM程序

          作者: 時間:2016-11-30 來源:網(wǎng)絡(luò) 收藏
          /********************
          RAM6264的地址為0000~1FFF,共8K
          CS1接P2.7
          CS2接VCC
          WE接WR
          OE接RD
          A8~A12接P2。0~P2.3
          ********************/

          #include
          #include
          unsigned char xdata *point=0x0000;

          unsigned char dat[32];
          void delay1s(void)
          {
          unsigned char a,b,c;
          for(c=167;c>0;c--)
          for(b=171;b>0;b--)
          for(a=16;a>0;a--);

          }

          void main()
          {unsigned inti,j;


          for(i=0;i<32;i++)
          *(point+i)=i;

          for( j=0;j<32;j++)
          {
          P1=*(point+j);
          delay1s();
          }
          while(1);

          }


          評論


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