edu.wpi.first.wpilibj.buttons
Class DigitalIOButton
java.lang.Object
edu.wpi.first.wpilibj.buttons.Trigger
edu.wpi.first.wpilibj.buttons.Button
edu.wpi.first.wpilibj.buttons.DigitalIOButton
- All Implemented Interfaces:
- Sendable
public class DigitalIOButton
- extends Button
- Author:
- Greg
Method Summary |
boolean |
get()
Returns whether or not the trigger is active
This method will be called repeatedly a command is linked to the Trigger. |
ACTIVE_STATE
public static final boolean ACTIVE_STATE
- See Also:
- Constant Field Values
DigitalIOButton
public DigitalIOButton(int port)
get
public boolean get()
- Description copied from class:
Trigger
- Returns whether or not the trigger is active
This method will be called repeatedly a command is linked to the Trigger.
- Specified by:
get
in class Trigger
- Returns:
- whether or not the trigger condition is active.
"For updated information see the Java FRC site"