View Single Post
  #16   Spotlight this post!  
Unread 24-01-2012, 00:32
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Jaguar Direction Control

For anyone still awake, here's an update.

After many Google searches, I think I found what I'm looking for. When button 2 is pressed, this initiates the stacked sequence. A timer begins. Once the timer reaches a value greater than the predefined stop time, it terminates the while loop.



Now, my two questions.

Once the while loop is terminated, does frame 1 pick up where frame 0 terminated?(will I have to TELL it to execute frame 2 immediately after 1?) ?

Will this confounded piece of code work? With only one motor output set, it appears to be too many steps. But, rest assured, there will be many, many many more added after I can get one working.

Thanks guys.
Reply With Quote