edu.wpi.first.wpilibj.buttons
Class AnalogIOButton
java.lang.Object
edu.wpi.first.wpilibj.buttons.Trigger
edu.wpi.first.wpilibj.buttons.AnalogIOButton
- All Implemented Interfaces:
- Sendable
public class AnalogIOButton
- extends Trigger
- 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. |
THRESHOLD
public static double THRESHOLD
AnalogIOButton
public AnalogIOButton(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"