Package lib.custom
Class PCMPort
java.lang.Object
lib.custom.PCMPort
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPCMPort(int pcmID, edu.wpi.first.wpilibj.PneumaticsModuleType pcmType, int forward, int reverse) Defines a piston based on two ports and a PCM number -
Method Summary
-
Field Details
-
pcmID
public int pcmID -
pcmType
public edu.wpi.first.wpilibj.PneumaticsModuleType pcmType -
forward
public int forward -
reverse
public int reverse
-
-
Constructor Details
-
PCMPort
public PCMPort(int pcmID, edu.wpi.first.wpilibj.PneumaticsModuleType pcmType, int forward, int reverse) Defines a piston based on two ports and a PCM number- Parameters:
pcmID- The ID of the PCM attached to the piston. Usually 0 or 1.forward- The forward port of the piston.reverse- The reverse port of the piston.
-
-
Method Details
-
buildDoubleSolenoid
public edu.wpi.first.wpilibj.DoubleSolenoid buildDoubleSolenoid()
-