|
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
|