Thread: Button Help
View Single Post
  #1   Spotlight this post!  
Unread 11-02-2009, 16:32
brainsdmaner's Avatar
brainsdmaner brainsdmaner is offline
Registered User
AKA: Brian
FRC #1691
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Sidney MT
Posts: 4
brainsdmaner is an unknown quantity at this point
Button Help

We are trying to program our robot so that if you hold down the trigger on one joystick then the motor goes forward, and if you hold down the trigger on the other joystick the motor goes in reverse. we have tried while loops and they simply stop our drive train and nothing works. when we have tried to put in multiple if loops then the drive works but it goes in one direction and continues until we shut our bot down.

here is a picture of what we have right now.
Attached Thumbnails
Click image for larger version

Name:	print screen.jpg
Views:	40
Size:	149.8 KB
ID:	7403  Click image for larger version

Name:	print screen2.jpg
Views:	29
Size:	146.4 KB
ID:	7404  
Reply With Quote