Package com.pi4j.io.gpio.trigger
Class GpioPulseStateTrigger
- java.lang.Object
-
- com.pi4j.io.gpio.trigger.GpioTriggerBase
-
- com.pi4j.io.gpio.trigger.OutputTargetedGpioTrigger
-
- com.pi4j.io.gpio.trigger.GpioPulseStateTrigger
-
- All Implemented Interfaces:
GpioTrigger
public class GpioPulseStateTrigger extends OutputTargetedGpioTrigger
-
-
Field Summary
-
Fields inherited from class com.pi4j.io.gpio.trigger.OutputTargetedGpioTrigger
targetPin
-
-
Constructor Summary
Constructors Constructor Description GpioPulseStateTrigger(GpioPinDigitalOutput targetPin, long milliseconds)
GpioPulseStateTrigger(PinState[] states, GpioPinDigitalOutput targetPin, long milliseconds)
GpioPulseStateTrigger(PinState state, GpioPinDigitalOutput targetPin, long milliseconds)
GpioPulseStateTrigger(List<PinState> states, GpioPinDigitalOutput targetPin, long milliseconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invoke(GpioPin pin, PinState state)
-
Methods inherited from class com.pi4j.io.gpio.trigger.OutputTargetedGpioTrigger
getTargetPin
-
Methods inherited from class com.pi4j.io.gpio.trigger.GpioTriggerBase
addPinState, addPinState, hasPinState
-
-
-
-
Constructor Detail
-
GpioPulseStateTrigger
public GpioPulseStateTrigger(GpioPinDigitalOutput targetPin, long milliseconds)
-
GpioPulseStateTrigger
public GpioPulseStateTrigger(PinState state, GpioPinDigitalOutput targetPin, long milliseconds)
-
GpioPulseStateTrigger
public GpioPulseStateTrigger(PinState[] states, GpioPinDigitalOutput targetPin, long milliseconds)
-
GpioPulseStateTrigger
public GpioPulseStateTrigger(List<PinState> states, GpioPinDigitalOutput targetPin, long milliseconds)
-
-
Method Detail
-
invoke
public void invoke(GpioPin pin, PinState state)
- Specified by:
invoke
in interfaceGpioTrigger
- Specified by:
invoke
in classGpioTriggerBase
-
-