Go to Post Stupid rules are still rules. They're not meant to be broken, they're meant to be changed. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2015, 22:10
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
  #2   Spotlight this post!  
Unread 13-02-2015, 22:24
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Pneumatic Double Soliniod

Can you post all of your code?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:58.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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