View Single Post
  #4   Spotlight this post!  
Unread 01-02-2007, 15:38
Andrew Morris's Avatar
Andrew Morris Andrew Morris is offline
Oh hey, it's build season!
FRC #0177 (Bobcat Robotics)
Team Role: Student
 
Join Date: Nov 2006
Rookie Year: 2005
Location: South Windsor
Posts: 16
Andrew Morris will become famous soon enough
Re: button programming

On page 5 of the manual there are tables showing the type of input to the controller you will get in the different modes(eg. trig, top, aux1, wheel). These combined with whatever port you have the controller plugged into give you the names to use for reading them(eg. p1_sw_trig, p1_sw_aux1). Then you can use those to control the relay ports on the RC.

If you want to use all the buttons and the right stick but not the left stick you should use mode 4 on the USB chicklet
__________________
2010 Newton Division & Championship Winner w/ 67 & 294
2009 CMP Champion - Newton Division
2008 CMP Champion - Archimedes Division
2007 Newton Division & Championship Winner

Last edited by Andrew Morris : 01-02-2007 at 15:44.