Move Robot
Move Robot
Random
code to move robot forward and stop
//code to move robot forward and stop
void setup()
{
}
void loop()
{
fd(80);
sleep(1000);
system_stop ();
}
code to move robot backward and stop
//code to move robot back and stop
void setup()
{
}
void loop()
{
bk(80);
sleep(1000);
system_stop ();
}
code to move robot left and stop
//code to move robot left and stop
void setup()
{
}
void loop()
{
tl(80);
sleep(1000);
system_stop ();
}
code to move robot right and stop
//code to move robot right and stop
void setup()
{
}
void loop()
{
tr(80);
sleep(1000);
system_stop ();
}
Pattern
code to move robot in circular way
//code to move robot in circular way
void setup()
{
}
void loop()
{
fd2(30,60);
}
code to move robot in square
//code to move robot in square
void setup()
{
}
void loop()
{
fd(80);
sleep(1500);
fd2(0,93);
sleep(1000);
}