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

正文內容

基于單片機的多功能智能小車設計畢業(yè)論文(文件)

2025-07-08 12:36 上一頁面

下一頁面
 

【正文】 { SelectedShow=False。 if (ReturnSelection==False) { if (TotalDistanceShow==True) { WriteCmd(LCD_CLS)。 ReturnSelection=True。 } /*第五次按鍵*/ while(1) { if (Next==True) break。 ReturnSelection=False。 Selected=False。 DisplayDistance()。 //延時消除抖動 } } } /*第六次按鍵*/ while(1) { if (Next==True) break。 ReturnSelection=False。 } continue。 Delay(5)。 Delay(5)。 //關顯示 WriteCmd(LCD_CLS)。 LCD_RS=Cmd。 LCD_RS=Data。 ExecuteCmd()。 ExecuteCmd()。 x|=0x80。 WriteData(cchar)。 }}bit IsBusy(void){ LCD_Data=0xFF。 0x80)。timeCounter ) DelayUs(255)。timeCounter ++) _nop_()。 //計算距離 SpeedCount=0。}void ComputeSpeedANDDistance(void){ Speed=SpeedCount/4*CircleLength。 for (timeCounter = 0。 for (timeCounter = time。 ExecuteCmd()。 DisplaySingleChar(x++,y,*str)。 WriteCmd(x)。 LCD_E=Disable。 LCD_Data=ddata。 LCD_Data=cmd。 LCD_RS=Cmd。 //光標移動設置 WriteCmd(LCD_DispCtr)。 WriteCmd(LCD_Init)。 Delay(5)。}/****************************************************************************************\** LCD驅動模塊 **\****************************************************************************************//* LCD初始化函數*/void LCDInit(void){ //三次顯示模式設置 LCD_Data=0。 SelectedReturn=False。 } if (Next==True) { Next=False。 ReturnSelection=True。 if (ReturnSelection==False) { if (TotalDistanceShow==True) { WriteCmd(LCD_CLS)。 } } if (SelectedShow==True) { SelectedShow=False。 } if (Next==True) //所有菜單項已經顯示完畢,返回主菜單 { Next=False。 //延時消除抖動 } } } if (ReturnMain==True) //按下了返回鍵,返回主菜單 { ReturnMain=False。 DisplayDistance()。 Selected=False。 TotalDistanceShow=True。 ReturnSelection=False。 } /*第四次按鍵*/ while(1) { if (Next==True) break。 ReturnSelection=True。 //延時消除抖動 } if (TotalDistanceShow==True) { WriteCmd(LCD_CLS)。 DisplayAVGSpeed()。 Selected=False。 TotalDistanceShow=True。 //按下了Next鍵,那么這個時候關閉返回鍵的功能 if (TotalDistanceShow==True) ReturnMain=True。 if (SelectedShow==True) break。 //延時消除抖動 } TotalDistanceShow=False。 DisplayAVGSpeed()。 Selected=False。 TotalDistanceShow=True。 //顯示了AVGSpeed,則表明TotalDistance還沒有顯示 Delay(250)。 //按下了Next鍵,那么這個時候關閉返回鍵的功能 if (AVGSpeedShow==False) //還沒有顯示AVGSpeed選項,顯示它 { //即第一次選擇了確定鍵 WriteCmd(LCD_CLS)。 if (Selected==True) break。 ReturnSelection=False。 WriteCmd(LCD_CLS)。 ReturnSelection=True。 WriteCmd(LCD_CLS)。 if (SelectedShow==True) break。 DisplayString(0x0,0, Costed Time )。 /*首先顯示主菜單,然后顯示第一個選項*/ DisplayString(0x0,0,Now Choose what )。 if ( LowSpeedArea2PassTime 9) //通過第二個低速區(qū)的時間超過s DisplaySingleChar(0x0B,1,LowSpeedArea2PassTime/10+0x30)。s39。 Delay(200)。 if ( HighSpeedAreaPassTime 9) //通過高速區(qū)的時間超過s DisplaySingleChar(0x0B,1,HighSpeedAreaPassTime/10+0x30)。s39。 Delay(200)。 if (LowSpeedArea1PassTime 9) //通過第一個低速區(qū)的時間超過s DisplaySingleChar(0x0B,1,LowSpeedArea1PassTime/10+0x30)。s39。 Delay(200)。 //默認情況下直線模式會自動顯示各個區(qū)域經過的時間 WriteCmd(LCD_CLS)。 //關T0中斷 ET1=0x0。 P03=0。 P04=1。} } } } } } } if (IsT1INT==1) { IsT1INT=0。} else {P01=0。P02=1。P02=0。P03=1。P04=0。P04=0。P04=0。P04=0。} Back=1。} else {P01=0。Back!=0) { if(Backid==1) {P01=1。Round!=0amp。P04=0。 if(IsT0INT==1) {P03=1。P03=1。 case 1 :{ P01=P02=P03=0。 while(flag5) { if(AutoMode==1) //自動模式 { switch(PassLineID) { case 0 :{ if(IsT0INT==1) {P01=P02=P04=0。 if (SelectedMode==Lineamp。 Delay(100)。)。 //初始化所有中斷 DisplayString(0x0,0,Left Times To Go)。 DisplayString(0x0,1, High )。 DisplayString(0x0,1, Low )。 DisplayString(0x0,1, Normal )。 DisplayString(0x0,1, AutoMode )。 DisplayString(0x0,1, Curve )。 DisplayString(0x0,1, Line )。 //標志模式選擇和速度選擇完畢 Running=True。 break。Tlx[3]=0x78。Tlx[1]=0xc0。 //延時消除抖動 while(1) { if (Next==True) //如果再一次按下Next鍵,則跳出 break。 WriteCmd(LCD_CLS)。 //這里沒有速度設置,因為默認速度就是Low break。 DisplayString(0x0,1,Next Yes)。 break。Tlx[3]=0x48。Tlx[1]=0x60。 //延時消除抖動 while(1) { if (Next==True) //如果按Next鍵則直接跳出 break。 while(1) { WriteCmd(LCD_CLS)。 DisplayString(0x0,1, kind of Speed )。 WriteCmd(LCD_CLS)。 break。 //延時消除抖動 while(1) { if (Next==True) break。 WriteCmd(LCD_CLS)。 break。 DisplayString(0x0,1,Next Yes)。 break。 //延時消除抖動 while (1) //不斷檢測中斷,直到按確定鍵或是NEXT鍵 { if (Next==True) //如果按Next鍵則直接跳出 break。 while(1) { WriteCmd(LCD_CLS)。 DisplayString(0x0,1,you want. )。 //INTO邊沿觸發(fā) EX1=1。 WriteCmd(LCD_CLS)。 //延時等待LCD啟動 LCDInit()。 P03=0。float Rate=。float ThirdDistance。char PassLine=0。 //返回主菜單標志bit AutoDisplay。 //確定/返回鍵選擇標志bit ReturnSelection
點擊復制文檔內容
范文總結相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1