|
" 2013 FRC Java API " |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Relay.Direction | |
---|---|
edu.wpi.first.wpilibj | The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC control system and your robot. |
Uses of Relay.Direction in edu.wpi.first.wpilibj |
---|
Fields in edu.wpi.first.wpilibj declared as Relay.Direction | |
---|---|
static Relay.Direction |
Relay.Direction.kBoth
direction: both directions are valid |
static Relay.Direction |
Relay.Direction.kForward
direction: Only forward is valid |
static Relay.Direction |
Relay.Direction.kReverse
direction: only reverse is valid |
Methods in edu.wpi.first.wpilibj with parameters of type Relay.Direction | |
---|---|
void |
Relay.setDirection(Relay.Direction direction)
Set the Relay Direction Changes which values the relay can be set to depending on which direction is used Valid inputs are kBothDirections, kForwardOnly, and kReverseOnly |
Constructors in edu.wpi.first.wpilibj with parameters of type Relay.Direction | |
---|---|
Relay(int moduleNumber,
int channel,
Relay.Direction direction)
Relay constructor given the module and the channel. |
|
Relay(int channel,
Relay.Direction direction)
Relay constructor given a channel only where the default digital module is used. |
|
" 2013 FRC Java API " |
|||||||||
PREV NEXT | FRAMES NO FRAMES |