We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 271b1f2 commit 7189fcbCopy full SHA for 7189fcb
src/main/java/frc/robot/examples/PneumaticsExamples.java
@@ -18,13 +18,14 @@ public final class PneumaticsExamples {
18
* Solenoids can be used to controller pneumatic cylinders are set to true or false
19
*/
20
private void Solenoid_Example() {
21
+ // Pneumatics can be used to extend and retract, or to grab and release for example
22
final int digialChannelOnRoboRio = 2;
23
final Solenoid piston = new Solenoid(PneumaticsModuleType.REVPH, digialChannelOnRoboRio);
24
- // Extend
25
+ // Extend or Grip
26
piston.set(true);
27
- // Retract
28
+ // Retract or Open
29
piston.set(false);
30
}
31
0 commit comments