-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRelayPortDevice.java
More file actions
27 lines (19 loc) · 813 Bytes
/
RelayPortDevice.java
File metadata and controls
27 lines (19 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/****************************************
* @author Chris Lane | FRC 2791 | 2020
*
* Interface for a relay port device.
*
* This interface is for interfacing with
* devices that connect to the relay ports
* on the RoboRIO that are not regular IFI
* SPIKE or similar relays.
*
*****************************************/
package edu.wpi.first.wpilibj;
import edu.wpi.first.wpilibj.Relay;
public interface RelayPortDevice {
public void rawSetRelay(Relay.Value kValue);//Set the raw relay port
public void setDirection(Relay.Direction direction);//Indirectly set relay port valid direction
public void setLocalRelay(Relay.Value klocalValue);//Set the local relay values from a static field
}
//End of file-----------------------------------------------------------------------