|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Pneumatics not working
How do I set my pneumatics to my controller.
I currently have this. if(liftshooter.getRawButton(1)){ shooter.set(DoubleSolenoid.Value.kForward); } else if(liftshooter.getRawButton(3)){ shooter.set(DoubleSolenoid.Value.kReverse); } else{ shooter.set(DoubleSolenoid.Value.kOff); } Up top I have DoubleSolenoid shooter = new DoubleSolenoid(4,5); I assume that 4,5 are the ports, and were sure thats correct, please help, asap. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|