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

正文內(nèi)容

智能機(jī)器人報(bào)告(編輯修改稿)

2025-07-02 09:25 本頁面
 

【文章內(nèi)容簡介】 有檢測到黑線嗎 直走 Y N 4 燈檢測到黑線 3 燈檢測到黑線 N Y 1 燈檢測到黑線 Y 大左轉(zhuǎn) 大右轉(zhuǎn) N 2 燈檢測到黑線 小左轉(zhuǎn) 小右轉(zhuǎn) [在此處鍵入 ] (二) 軟件程序 include include define uint unsigned int sbit l1= P2^0。 //四路尋跡模塊接口第一路 sbit l2= P2^1。 //四路尋跡模塊接口第二路 sbit r1= P2^2。 //四路尋跡模塊接口第三路 sbit r2= P2^3。 //四路尋跡模塊接口第四路 sbit IN12=P0^5。//左馬達(dá) sbit IN11=P0^4。 sbit IN22=P0^3。//右馬達(dá) sbit IN21=P0^2。 int f1,f2。 //標(biāo)志位 int m。 define Left_moto_go {IN11=1,IN12=0。} //左 輪前進(jìn) define Left_moto_back {IN11=0,IN12=1。}// 左輪后退 define Left_moto_stp {IN11=0,IN12=0。}//左輪停止 define Right_moto_go {IN21=1,IN22=0。}//右輪前進(jìn) define Right_moto_back {IN21=0,IN22=1。}//右輪后退 define Right_moto_stp {IN21=0,IN22=0。}//右輪停止 void delay(uint k) //延時函數(shù) { uint x,y。 for(x=0。xk。x++) for(y=0。y110。y++)。 } void run() //前進(jìn)函數(shù) { Left_moto_go。 Right_moto_go。 delay(30)。 Left_moto_stp。 Right_moto_stp。 delay(10)。 //調(diào)節(jié)轉(zhuǎn)速 } void back(void) //后退函數(shù) { Left_moto_back。 [在此處鍵入 ] Right_moto_back。 delay(20)。 //調(diào)節(jié)轉(zhuǎn)速 Left_moto_stp。 Right_moto_stp。 delay(100)。 //調(diào)節(jié)轉(zhuǎn)速 } void left() //左電機(jī)不動,右電機(jī)前進(jìn) { Left_moto_stp。 Right_moto_go。 delay(10)。 Left_moto_stp。 Right_moto_stp。 delay(40)。 } void right() //左電機(jī)前進(jìn),右電機(jī)不動 { Left_moto_go。 Right_moto_stp。 delay(10)。 Left_moto_stp。 Right_moto_stp。 delay(40)。 } void stop() { Left_moto_stp。
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1