View Single Post
  #2   Spotlight this post!  
Unread 06-01-2014, 21:56
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Iterative Robot - Need Help!!!

Quote:
Originally Posted by hasin5 View Post
Also, for function #3, I know I have two instances of the code. One is the relay version and the other is the solenoid version. Which one do I use?
Either will work. It will depend on what the electrical team hooks it up to. The solenoid module can work with either 12v or 24v solenoids, while a spike relay will only work with 12v solenoids.

You could also use the DoubleSolenoid class, instead of two Solenoid objects.

I don't see anything obviously wrong with the code.
Reply With Quote