Spin and Turn

Home > Activities > Robots > Examples

Computer Challenge logo

 

  Equipment
  Building
  Programming
  Missions
Examples
  Contests
  Links
  Award

 

Action: Spin to the left (counterclockwise) for 6 seconds, then turn right for 2 seconds. Notice the difference between spinning and turning.

Reading the program

  • Begin the program
  • Start motor A going backward
  • Start motor C going forward
  • Wait for 6 seconds (the program waits, the robot keeps spinning)
  • Start motor A forward
  • Stop motor C
  • Wait for 2 seconds
  • Stop all motors
  • End the program

Where to find it

Wait 2 Seconds: click Wait For wait for buttonon the functions palette.

For more information: See the Programming and Motors tutorial or Context Help in RoboLab.


  © 2010 Computer Challenge