Introduction to Robotics/Control Flow/Lab/Students: Difference between revisions

wikademia>Whiteknight
wikademia>Eme
No edit summary
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Introduction to Robotics/Nav|Control Flow}}
== Note ==
== Note ==


Line 61: Line 59:


  FOR MyCount = 0 TO EndLoop12 * 12
  FOR MyCount = 0 TO EndLoop12 * 12
PULSOUT Left, LeftStop + 65
    PULSOUT Left, LeftStop + 65
PULSOUT Right, RightStop + 50
    PULSOUT Right, RightStop + 50
PAUSE 20
    PAUSE 20
  NEXT
  NEXT
  RETURN
  RETURN
Line 70: Line 68:


Demonstrate this for your instructor. The instructor may want to check your code to ensure that you have not changed or deleted any of the above code.
Demonstrate this for your instructor. The instructor may want to check your code to ensure that you have not changed or deleted any of the above code.
__NOTOC__
[[Category:Introduction to Robotics]]