public class SquarePulseTrainGenerator
extends java.lang.Thread
Constructor and Description |
---|
SquarePulseTrainGenerator(Arduino arduino,
org.sintef.jarduino.PWMPin outPin,
int mS_ON,
int mS_OFF)
standard constructor for the pulse train generator
|
Modifier and Type | Method and Description |
---|---|
void |
run()
generates the pulse train for the thread
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public SquarePulseTrainGenerator(Arduino arduino, org.sintef.jarduino.PWMPin outPin, int mS_ON, int mS_OFF)
arduino
- the arduinooutPin
- the output pinmS_ON
- time onmS_OFF
- time offRH, 2017