Thread: help on easyC
View Single Post
  #6   Spotlight this post!  
Unread 19-03-2006, 08:42
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: help on easyC

Quote:
Originally Posted by Loki1989
ok that tells me what i wanted but now i dont understand putting in a while loop because what exactically does a while loop do
Those blocks on the palette like "Tank 2 motor", etc. only read the joystick values and send the output to the PWMs once. Generally in your operator control program you have to do that repeatedly until the match is over. That's why you have to enclose those blocks inside of a while loop.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute