Class Switch
java.lang.Object
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.digitaldevice.Switch
- All Implemented Interfaces:
DigitalDevice
An implementation of DigitalDevice for simple switches or other simple uses of
DigitalChannel.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firstinspires.ftc.teamcode.fy23.robot.subsystems.DigitalDevice
DigitalDevice.Parameters -
Constructor Summary
ConstructorsConstructorDescriptionSwitch(com.qualcomm.robotcore.hardware.HardwareMap hardwareMap, DigitalDevice.Parameters parameters) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive()When a device is "active" depends on the implementation.
-
Constructor Details
-
Switch
public Switch(com.qualcomm.robotcore.hardware.HardwareMap hardwareMap, DigitalDevice.Parameters parameters)
-
-
Method Details
-
isActive
public boolean isActive()Description copied from interface:DigitalDeviceWhen a device is "active" depends on the implementation.- Specified by:
isActivein interfaceDigitalDevice
-