Package lib.custom

Class PCMPort

java.lang.Object
lib.custom.PCMPort

public class PCMPort extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     
    int
     
    edu.wpi.first.wpilibj.PneumaticsModuleType
     
    int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PCMPort(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

    Modifier and Type
    Method
    Description
    edu.wpi.first.wpilibj.DoubleSolenoid
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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()