View Single Post
  #21   Spotlight this post!  
Unread 07-08-2013, 14:46
rkoripalli's Avatar
rkoripalli rkoripalli is offline
Registered User
AKA: Rohan Koripalli
FRC #3735 (Klein Bots)
Team Role: Alumni
 
Join Date: Aug 2013
Rookie Year: 2013
Location: Klein
Posts: 19
rkoripalli is an unknown quantity at this point
Re: Proper way to connect a solenoid

Quote:
Originally Posted by Joe Ross View Post
Using kOn is turning both sides of the relay on, which won't cause the solenoid to fire. You want to use kForward which sets the + side to 12v and the - side to ground.

Alternately, you can set the direction to forward in the constructor and then use kOn.
Sorry, I forgot to mention that after kForward didn't work I switched it to kOn. Thank you though, I will change it back now