View Single Post
  #1   Spotlight this post!  
Unread 26-04-2010, 10:43
JohnFogarty's Avatar
JohnFogarty JohnFogarty is offline
Trapped under a pile of MECANUMS :P
AKA: @doctorfogarty
FTC #11444 (Garnet Squadron) & FRC#1102 (M'Aiken Magic)
Team Role: Mentor
 
Join Date: Aug 2009
Rookie Year: 2006
Location: SC
Posts: 1,574
JohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond repute
Intellitek EasyC for FRC help?

So I was programming an old robot the team had lying around that we need for this Friday. and it uses 3 state Solenoids. The Programming language for the Spikes puts it in Forward state when the button is pressed an Neutral when it's not pressed. I need it to be in forward when pressed and reverse state when released. I know an IF/ELSE statement would do this. But what is the text I need to put in as the IF conditional statement. In RobotC for FTC I knew it was always (Joystick.joy1_but1). What code do I need to put in?
__________________
John Fogarty
2010 FTC World Championship Winner & 2013-2014 FRC Orlando Regional Winner
Mentor FRC Team 1102 M'Aiken Magic
"Head Bot Coach" FTC Team 11444 Garnet Squadron
Former Student & Mentor FLL 1102, FTC 1102 & FTC 3864, FRC 1772, FRC 5632
2013 FTC World Championship Guest Speaker