|
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?
|