Package com.pi4j.io.gpio
Interface GpioPinDigitalOutput
-
- All Superinterfaces:
GpioPin
,GpioPinDigital
,GpioPinOutput
- All Known Subinterfaces:
GpioPinDigitalMultipurpose
- All Known Implementing Classes:
GpioPinImpl
public interface GpioPinDigitalOutput extends GpioPinDigital, GpioPinOutput
Gpio digital output pin interface.- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Future<?>
blink(long delay)
Future<?>
blink(long delay, long duration)
Future<?>
blink(long delay, long duration, PinState blinkState)
Future<?>
blink(long delay, long duration, PinState blinkState, TimeUnit timeUnit)
Future<?>
blink(long delay, long duration, TimeUnit timeUnit)
Future<?>
blink(long delay, PinState blinkState)
Future<?>
blink(long delay, PinState blinkState, TimeUnit timeUnit)
Future<?>
blink(long delay, TimeUnit timeUnit)
void
high()
void
low()
Future<?>
pulse(long duration)
Future<?>
pulse(long duration, boolean blocking)
Deprecated.Future<?>
pulse(long duration, boolean blocking, Callable<Void> callback)
Deprecated.Future<?>
pulse(long duration, boolean blocking, Callable<Void> callback, TimeUnit timeUnit)
Deprecated.Future<?>
pulse(long duration, boolean blocking, TimeUnit timeUnit)
Deprecated.Future<?>
pulse(long duration, PinState pulseState)
Future<?>
pulse(long duration, PinState pulseState, boolean blocking)
Deprecated.Future<?>
pulse(long duration, PinState pulseState, boolean blocking, Callable<Void> callback)
Deprecated.Future<?>
pulse(long duration, PinState pulseState, boolean blocking, Callable<Void> callback, TimeUnit timeUnit)
Deprecated.Future<?>
pulse(long duration, PinState pulseState, boolean blocking, TimeUnit timeUnit)
Deprecated.Future<?>
pulse(long duration, PinState pulseState, Callable<Void> callback)
Future<?>
pulse(long duration, PinState pulseState, Callable<Void> callback, TimeUnit timeUnit)
Future<?>
pulse(long duration, PinState pulseState, TimeUnit timeUnit)
Future<?>
pulse(long duration, Callable<Void> callback)
Future<?>
pulse(long duration, Callable<Void> callback, TimeUnit timeUnit)
Future<?>
pulse(long duration, TimeUnit timeUnit)
void
pulseSync(long duration)
void
pulseSync(long duration, PinState pulseState)
void
pulseSync(long duration, PinState pulseState, TimeUnit timeUnit)
void
pulseSync(long duration, TimeUnit timeUnit)
void
setState(boolean state)
void
setState(PinState state)
void
toggle()
-
Methods inherited from interface com.pi4j.io.gpio.GpioPin
addListener, addListener, clearProperties, export, export, getListeners, getMode, getName, getPin, getProperties, getProperty, getProperty, getProvider, getPullResistance, getShutdownOptions, getTag, hasListener, hasProperty, isExported, isMode, isPullResistance, removeAllListeners, removeListener, removeListener, removeProperty, setMode, setName, setProperty, setPullResistance, setShutdownOptions, setShutdownOptions, setShutdownOptions, setShutdownOptions, setShutdownOptions, setTag, unexport
-
Methods inherited from interface com.pi4j.io.gpio.GpioPinDigital
getState, isHigh, isLow, isState
-
-
-
-
Method Detail
-
high
void high()
-
low
void low()
-
toggle
void toggle()
-
blink
Future<?> blink(long delay)
-
blink
Future<?> blink(long delay, long duration)
-
pulse
Future<?> pulse(long duration)
-
pulse
@Deprecated Future<?> pulse(long duration, @Deprecated boolean blocking)
Deprecated.
-
pulse
@Deprecated Future<?> pulse(long duration, @Deprecated boolean blocking, TimeUnit timeUnit)
Deprecated.
-
pulse
@Deprecated Future<?> pulse(long duration, @Deprecated boolean blocking, Callable<Void> callback)
Deprecated.
-
pulse
@Deprecated Future<?> pulse(long duration, @Deprecated boolean blocking, Callable<Void> callback, TimeUnit timeUnit)
Deprecated.
-
pulse
Future<?> pulse(long duration, PinState pulseState, Callable<Void> callback, TimeUnit timeUnit)
-
pulse
@Deprecated Future<?> pulse(long duration, PinState pulseState, @Deprecated boolean blocking)
Deprecated.
-
pulse
@Deprecated Future<?> pulse(long duration, PinState pulseState, @Deprecated boolean blocking, TimeUnit timeUnit)
Deprecated.
-
pulse
@Deprecated Future<?> pulse(long duration, PinState pulseState, @Deprecated boolean blocking, Callable<Void> callback)
Deprecated.
-
pulse
@Deprecated Future<?> pulse(long duration, PinState pulseState, @Deprecated boolean blocking, Callable<Void> callback, TimeUnit timeUnit)
Deprecated.
-
pulseSync
void pulseSync(long duration) throws InterruptedException
- Throws:
InterruptedException
-
pulseSync
void pulseSync(long duration, TimeUnit timeUnit) throws InterruptedException
- Throws:
InterruptedException
-
pulseSync
void pulseSync(long duration, PinState pulseState) throws InterruptedException
- Throws:
InterruptedException
-
pulseSync
void pulseSync(long duration, PinState pulseState, TimeUnit timeUnit) throws InterruptedException
- Throws:
InterruptedException
-
setState
void setState(PinState state)
-
setState
void setState(boolean state)
-
-