View Single Post
  #3   Spotlight this post!  
Unread 18-03-2011, 14:04
SoulSaber1's Avatar
SoulSaber1 SoulSaber1 is offline
Registered User
AKA: Drew Parker
FRC #3011 (RoboWarriors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Wiesbaden
Posts: 8
SoulSaber1 is an unknown quantity at this point
Re: Bit of coding help

For some reason this isn't working either. did you mean like this?

Code:
case 7: //ALL SENSORS ON *OR* MAYBE AT CROSS
                        if (time > stopTime)
                        {
                            atCross = true;
                            speed = 0;
                            gripper.set(false);         //Closes gripper
                            gripper2.set(true);         // "     "
                            drive.arcadeDrive(-.5 , 0);
                            Timer.delay(1.0);
                            drive.arcadeDrive(0 , 0);
                                                                }
__________________
"I don't care about what anything was DESIGNED to do, I care about what it CAN do." -Gene Kranz

"This lifestyle is DIY or GTFO" - lucid
Reply With Quote