View Single Post
  #4   Spotlight this post!  
Unread 04-02-2010, 09:50
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: NEED HELP WITH SERVOS!!

You need to add some case structures around that "+10" area ...

Make some room in that area and drop down a case structure. Wire up the output of the joystick button to the little green control-box on the case structure. In the TRUE window, put your "+10" in there, in the FALSE case, simply wire the GET, thru the case, into the SET.

To get all 4 buttons to steer it up/down/left/right, you'll need to put more cases within that case.

This image doesn't do what you want to do, but you can see how we are taking buttons 3, 4, and 5 and wiring them into the cases to do different things. And we also are using button 1 to override the joystick throttle to 100%.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
Reply With Quote