- 28 Jan 2020
In our first program, we will use 2 commands that will make the robot move forward for 2 seconds (2000 miliseconds):
Motor(Port.B).run(180) Motor(Port.C).run(180) wait(2000)
Here we are using 2 commands. One makes a motor turn the tire with a speed of 180 degrees per second and the other makes it wait for 2 seconds.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons