Log in

View Full Version : Double Solenoids


Thxe
17-02-2010, 22:45
Our team is using pneumatics for the first time this year. We are using double solenoid valves and I'm not sure how to program them. I recall seeing something about a double solenoid class in the WPILib last year, but now I can't find it. Is there a class for controlling double solenoids in the WPILib? If not, does anyone have any sample code I can look at?

Thxe

Dave Scheck
17-02-2010, 22:55
There isn't a built in double solenoid class in WPILib.

Take a look at the 1114 code posted on the FIRST forums. As I recall, there's a nice DoubleSolenoid class in there.

Thxe
17-02-2010, 23:26
I had a look around the FIRST forum but couldn't find the said code, link please?

mikets
24-02-2010, 17:42
Does this thread solve your problem?
http://chiefdelphi.com/forums/showthread.php?t=83535