Double Solenoids

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

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.

I had a look around the FIRST forum but couldn’t find the said code, link please?

Does this thread solve your problem?