Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Pneumatic Double Soliniod (http://www.chiefdelphi.com/forums/showthread.php?t=134544)

loganzip 02-13-2015 10:10 PM

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?

tomy 02-13-2015 10:24 PM

Re: Pneumatic Double Soliniod
 
Can you post all of your code?


All times are GMT -5. The time now is 10:08 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi