java.lang.Object
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.digitaldevice.Switch
All Implemented Interfaces:
DigitalDevice

public class Switch extends Object implements DigitalDevice
An implementation of DigitalDevice for simple switches or other simple uses of DigitalChannel.
  • Constructor Details

  • Method Details

    • isActive

      public boolean isActive()
      Description copied from interface: DigitalDevice
      When a device is "active" depends on the implementation.
      Specified by:
      isActive in interface DigitalDevice