View Single Post
  #1   Spotlight this post!  
Unread 02-13-2015, 10:10 PM
loganzip loganzip is offline
Registered User
FRC #2838
 
Join Date: Feb 2014
Location: USA
Posts: 8
loganzip is an unknown quantity at this point
Pneumatic Double Soliniod

I am programming pneumatic. I have gotten the compressor to turn on and the pressure switch to work. but I can not figure out how to program a double soliniod to a button. Here is the code I have for the button.
if (SpecialOps.GetRawButton(1))
Launcher2Sol.Set(DoubleSolenoid::kReverse);
else
Launcher2Sol.Set(DoubleSolenoid::kForward);

I am using the trigger on the Logitech 3D extreme pro controller. Anyone able to help me?
Reply With Quote