freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

超聲波測(cè)距,51單片機(jī)和c8051單片機(jī)程序-wenkub

2023-07-22 16:30:55 本頁(yè)面
 

【正文】 i)。void lcd_init(void)。unsigned char table[8]。bit flag =0。sbit lcdrs=P2^5。C8051F410單片機(jī)程序//include // SFR declarationsinclude include define uint unsigned int define uchar unsigned charsbit Trig=P0^7。sbit sdi=P2^6。unsigned char code table1[]= Ce De Jv Li is 。//// Function PROTOTYPES//void PORT_Init (void)。void write_(unsigned char )。void delaym(uchar i){ while(i)。 //禁止看門狗 PORT_Init ()。 //EA=1。 TL0=0。 delaym(200)。 //開啟計(jì)數(shù) while(Echo)。 table[1]=(s%1000)/100+0x30。 table[4]=s%10+0x30。m39。 for(num=0。 } } else { write_(0x80+0x48)。 delay(10)。num++) { write_data(table3[num])。 XBR1= 0x40。i8。0x01。 clk=1。 write_(0x0C)。 for(num=0。 } }/***************************************************************************************函數(shù)名稱: void write_(unsigned char )功能描述: 1602液晶寫指令輸入: 輸出: 無(wú)全局變量: 無(wú)調(diào)用模塊: write_595()備注: 無(wú)***************************************************************************************/void write_(unsigned char ){ lcdrs=0。 delay(15)。 delay(15)。}/***************************************************************************************函數(shù)名稱: void delay(unsigned int z)功能描述: 延時(shí)函數(shù)2Mhz時(shí)鐘下延時(shí)1ms輸入: z輸出: 無(wú)全局變量: 無(wú)調(diào)用模塊: 無(wú)備注: 無(wú)***************************************************************************************/void delay(unsigned int z){ unsigned int ii,jj。jj180。}89c51或52include //器件配置文件include include sbit Rcho=P3^6。sbit LCM_E=P2^7。 //LCD初始化函數(shù)void DisplayOneChar(unsigned char X, unsigned char Y, unsigned char DData)。 //延時(shí)400毫秒函數(shù)void Decode(unsigned char ScanCode)。unsigned char Read
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1