View Single Post
  #3   Spotlight this post!  
Unread 14-02-2011, 23:43
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
Re: How to program motors in two different directions.?

You could also use two case structures, one inside the other, each controlled by a button on your controller. The only trick is that there is one case where both buttons are pressed. In that case you could either have the motor stop or continue in one of the two directions, but practically speaking, this isn't a big deal.
Reply With Quote