Package edu.wpi.first.hal
Class RelayJNI
- java.lang.Object
-
- edu.wpi.first.hal.JNIWrapper
-
- edu.wpi.first.hal.DIOJNI
-
- edu.wpi.first.hal.RelayJNI
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.wpi.first.hal.JNIWrapper
JNIWrapper.Helper
-
-
Constructor Summary
Constructors Constructor Description RelayJNI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
checkRelayChannel(int channel)
static void
freeRelayPort(int relayPortHandle)
static boolean
getRelay(int relayPortHandle)
static int
initializeRelayPort(int halPortHandle, boolean forward)
static void
setRelay(int relayPortHandle, boolean on)
-
Methods inherited from class edu.wpi.first.hal.DIOJNI
allocateDigitalPWM, checkDIOChannel, freeDigitalPWM, freeDIOPort, getDIO, getDIODirection, getLoopTiming, initializeDIOPort, isAnyPulsing, isPulsing, pulse, setDigitalPWMDutyCycle, setDigitalPWMOutputChannel, setDigitalPWMRate, setDIO, setDIODirection, setDIOSimDevice
-
Methods inherited from class edu.wpi.first.hal.JNIWrapper
forceLoad, suppressUnused
-
-
-
-
Constructor Detail
-
RelayJNI
public RelayJNI()
-
-
Method Detail
-
initializeRelayPort
public static int initializeRelayPort(int halPortHandle, boolean forward)
-
freeRelayPort
public static void freeRelayPort(int relayPortHandle)
-
checkRelayChannel
public static boolean checkRelayChannel(int channel)
-
setRelay
public static void setRelay(int relayPortHandle, boolean on)
-
getRelay
public static boolean getRelay(int relayPortHandle)
-
-