Class SpectrumServo

All Implemented Interfaces:
Sendable, Subsystem, AutoCloseable

public class SpectrumServo extends Servo implements Subsystem
A WPILib Servo that also implements Subsystem, allowing it to be registered with the command-based framework and participate in requirement checking.
  • Constructor Details

    • SpectrumServo

      public SpectrumServo(int port)
      Creates a SpectrumServo connected to the given PWM port on the RoboRIO.
      Parameters:
      port - PWM channel (0–9) the servo signal wire is plugged into