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
public class RelayJNI extends DIOJNI
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description RelayJNI()
-
Method Summary
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, pulseMultiple, setDigitalPWMDutyCycle, setDigitalPWMOutputChannel, setDigitalPWMPPS, setDigitalPWMRate, setDIO, setDIODirection, setDIOSimDevice