Download presentation
Presentation is loading. Please wait.
1
Programming - Timers Intro to Robotics
2
Time and Timers Let’s say the rules for the game state that you only have 2 minutes from the starting signal to control your robot, and then your robot must STOP responding to commands or face disqualification. Is your robot tournament ready?
3
wait1Msec ( ) You might think you understand how to use the wait1Msec(time) command, but the question is where do you put it in the code?
6
ClearTimer ( )
13
Drive and test the robot. What happens after 5 seconds?
Download and test the change. Does the robot stop after 2 minutes?
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.