資源簡介
紅外遙控,紅外避障,紅外循跡,超聲波避障,加速減速,左轉右轉,前進后退
代碼片段和文件信息
//#include
//#include
//#define?uchar?unsigned?char
//#define?uint??unsigned?int
//uchar?about; ?
//uchar?motor?=?0;?
//uchar?f?=?0fs?=?0;
//uchar?time2time3time4time5num;
//uchar?fl=0;
//uchar?flagffflag2sm1ist=0;
//unsigned?long?slongtimessm2sasbsc=0;
//uchar?speed;??
//uchar?time1;??
//uchar?sm?=?0;
//uchar?time;
//uchar?tiaosu?=?60;?
//uchar?next?=?0;
//uchar?record[4];?
//uchar?date[33]; ?
//uchar?da[9]; ?
//uchar?irry[3];
//void?count();?
//void?run3();
//void?left3();
//void?right3();
//void?xunji();
//void?qp1();
//void?qp2();void?qp3();void?qp4();void?qp5();
//void?pand();??
//uchar?first;??
//void?right2();
//void?right1();
//void?left2();
//void?left1();
//void?bizhang();
//void?run(); ???
//void?back();???
//void?bijiao();?
//void?bijiao1();
//void?chaoshengbo();
//uchar?ijkm;???
//sbit?outleft?=?P1^1;??
//sbit?outright?=?P2^0;??
//sbit?trag?=?P2^6;??
//sbit?echo?=?P2^7;??
//sbit?IN1?=?P1^3;?
//sbit?IN2?=?P1^4;
//sbit?IN3?=?P1^5;?
//sbit?IN4?=?P1^6;?
//sbit?outleft3?=?P1^0;?
//sbit?outright3?=?P2^1;
//sbit?outleft4?=?P3^6;
//sbit?outright4?=?P3^7;
//void?dis(int?m)
//{
// int?y;
// int?x;
// for(x=0;x // for(y=0;y<110;y++);
//}
//void?hongwai()?
//{
// ET0?=?1;
// TR0?=?1;
// EA?=?1;
//?? EX0?=?1;?
// IT0?=?1;?
// ET1?=?1;
//}
//void?it(void)?interrupt?0
//{
// static?uchar?start;???
// static?uchar?m; ??
// static?uchar?second;??
// if(start==1)
// {
// TR0?=?0;
// first?=?time;
// time?=?0;
// TR0?=?1;
// if(first<53&&first>=32)?
//????{
// m=0;
// second?=?1;
// }
// if(second?==?1)
// {
// if(m<=32)
// {
// date[m]=first;
// m++;
// }
// }
// if(m==33)
// {
// ???m?=?33?;??
// ??second?=?0;
// ??start?=0;
// }
// }
// else
// {
// start?=?1;
// time?=?0;
// } ??
//}
//void?it0()?interrupt?1 ??
//{
// time++; ??
//}
//void?qwe()?interrupt?3?
//{
// times?=?0;
// flag?=?1;
// TH1?=?0;
// TL1?=?0;
//}
//void?pand()
//{
//????trag?=?0;??
//????echo?=?0;??
//????dis(10);
// trag?=?1;
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// _nop_();
// trag?=?0;
// TH1?=?0;
// TL1?=?0;
// while(!echo);
// TR1?=?1;
// while(echo);
// if(echo?==0)
// {
// TR1?=?0;
// count();
// }
//}
//void?count()
//{
// times?=?TH1*256+TL1;
// TH1?=?0;
// TL1?=?0;
// if(flag?==1)
// {
// irry[0]=‘9‘;
// irry[1]=‘0‘;
// irry[2]=‘0‘;
// }
// else
// {
// slong?=?((times)*1.085)*(0.17);
// time2?=?slon
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2020-11-16?12:59??智能車\
?????目錄???????????0??2020-11-16?12:59??智能車\Listings\
?????文件???????14158??2020-11-16?12:59??智能車\Listings\STARTUP.lst
?????文件???????54449??2020-11-16?12:59??智能車\Listings\handcar.m51
?????文件???????68648??2020-11-16?12:59??智能車\Listings\headcar.lst
?????目錄???????????0??2020-11-16?12:59??智能車\ob
?????文件?????????819??2020-11-16?12:59??智能車\ob
?????文件???????35772??2020-11-16?12:59??智能車\ob
?????文件????????1054??2020-11-16?12:59??智能車\ob
?????文件???????10829??2020-11-16?12:59??智能車\ob
?????文件?????????124??2020-11-16?12:59??智能車\ob
?????文件???????41062??2020-11-16?12:59??智能車\ob
?????文件????????6376??2020-09-11?22:37??智能車\STARTUP.A51
?????文件???????88880??2020-11-16?12:59??智能車\handcar.uvgui.nes
?????文件????????5759??2020-11-16?12:58??智能車\handcar.uvopt
?????文件???????14063??2020-09-11?22:37??智能車\handcar.uvproj
?????文件???????28948??2020-09-30?15:00??智能車\headcar.c
- 上一篇:C基礎講義2018修訂版.doc
- 下一篇:基于51單片機多路超聲波報警設計
評論
共有 條評論