中文字幕 另类精品,亚洲欧美一区二区蜜桃,日本在线精品视频免费,孩交精品乱子片免费

<sup id="3hn2b"></sup>

    1. <sub id="3hn2b"><ol id="3hn2b"></ol></sub><legend id="3hn2b"></legend>

      1. <xmp id="3hn2b"></xmp>

      2. 新聞中心

        EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > 單片機(jī)C語言程序設(shè)計:并行數(shù)據(jù)轉(zhuǎn)換為串行數(shù)據(jù)

        單片機(jī)C語言程序設(shè)計:并行數(shù)據(jù)轉(zhuǎn)換為串行數(shù)據(jù)

        作者: 時間:2013-09-05 來源:網(wǎng)絡(luò) 收藏

        /* 名稱:轉(zhuǎn)換為

        說 明 : 切 換 連 接 到 并 串 轉(zhuǎn) 換 芯 片

        74LS165 的撥碼開關(guān),該芯片將

        串行方式發(fā)送到 8051 的 RXD 引腳,移位脈

        沖由 TXD 提供,顯示在 P0 口。

        */

        #includereg51.h>

        #includeintrins.h>

        #includestdio.h>

        #define uchar unsigned char

        #define uint unsigned int

        sbit SPL=P2^5; //shift/load

        //延時

        void DelayMS(uint ms)

        {

        uchar i;

        while(ms--) for(i=0;i120;i++);


        }


        上一頁 1 2 下一頁

        評論


        相關(guān)推薦

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

        關(guān)閉