Package edu.wpi.first.hal
Class DIOJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.DIOJNI
public class DIOJNI extends JNIWrapper
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description DIOJNI()
-
Method Summary
Modifier and Type Method Description static int
allocateDigitalPWM()
static boolean
checkDIOChannel(int channel)
static void
freeDigitalPWM(int pwmGenerator)
static void
freeDIOPort(int dioPortHandle)
static boolean
getDIO(int dioPortHandle)
static boolean
getDIODirection(int dioPortHandle)
static short
getLoopTiming()
static int
initializeDIOPort(int halPortHandle, boolean input)
static boolean
isAnyPulsing()
static boolean
isPulsing(int dioPortHandle)
static void
pulse(int dioPortHandle, double pulseLength)
static void
setDigitalPWMDutyCycle(int pwmGenerator, double dutyCycle)
static void
setDigitalPWMOutputChannel(int pwmGenerator, int channel)
static void
setDigitalPWMRate(double rate)
static void
setDIO(int dioPortHandle, boolean value)
static void
setDIODirection(int dioPortHandle, boolean input)
static void
setDIOSimDevice(int handle, int device)