View Single Post
  #9   Spotlight this post!  
Unread 18-06-2015, 22:43
GeeTwo's Avatar
GeeTwo GeeTwo is online now
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,614
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Can't get Solenoid to fire?

Edit: I see Mark beat me to this, and knows more authoritatively.

Quote:
Originally Posted by SenorZ View Post
I'm not a programmer, but I think you've got an issue of no "else" statement. It would seem if button 1 is pressed, then button 2, both solenoids would be getting the "go" signal.

My extent of programming help ended when my old team using labview 4 years ago. So if you're shaking your head in disgust at my theory, I am sorry!
SenorZ,
I have not worked with the pneumatics methods (only mentored programming in 2015, and we didn't use pneumatics), but if it's anything like the spike methods (which we did use for LEDs), setting kForward and kReverse automatically clear the other side.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.