How to program solenoids?

I need help with programming of the solenoids…where can I access the classes for it?

1 Like

I have found that, but how do I go from there…i don’t see a class i need to import…

1 Like

You need to import Solenoid or DoubleSolenoid.

https://first.wpi.edu/wpilib/allwpilib/docs/release/java/edu/wpi/first/wpilibj/Solenoid.html

Thank you so much!!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.