View Single Post
  #1   Spotlight this post!  
Unread 02-02-2008, 11:54
personfromhell's Avatar
personfromhell personfromhell is offline
Shaman Me
FRC #1389 (Suck Nuts)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Maryland
Posts: 5
personfromhell is an unknown quantity at this point
p1_sw_aux data type

Hi, my team wants to use the two buttons next to the hat on the controllers FIRST gave us. I used dashboard and got that they are aux1 and aux2 and I found p1_sw_aux1 and p1_sw_aux2. However, I haven't been able to figure out what data type they are. I tried using them as a conditional hoping they would be non-zero if depressed (if(p1_sw_aux1) {}), but that didn't work. I tried searching but I only found a single thread and it simply said you could use them (http://www.chiefdelphi.com/forums/sh...ght=p1_sw_aux). Any help would be greatly appreciated.
__________________