Files
bk_bishe_pi/robot_test_code/实机测试/test_run.cpp

19 lines
282 B
C++

#include<iostream>
#include<string>
#include"eyebot++.h"
using namespace std;
int main()
{
int Fwall,Lwall,Rwall;
LCDMenu("","","","END");
do
{ //检测墙面
MOTORDriveRaw(1,50);
MOTORDriveRaw(2,50);
} while (KEYRead() != KEY4);
}