Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static Relay.Direction |
Relay.Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relay.Direction[] |
Relay.Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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
|
Constructor and Description |
---|
Relay(int channel,
Relay.Direction direction)
Relay constructor given a channel.
|
Copyright © 2015. All rights reserved.