public class GpioSetStateTrigger extends OutputTargetedGpioTrigger
targetPin
Constructor and Description |
---|
GpioSetStateTrigger(GpioPinDigitalOutput targetPin,
PinState targetPinState) |
GpioSetStateTrigger(List<PinState> states,
GpioPinDigitalOutput targetPin,
PinState targetPinState) |
GpioSetStateTrigger(PinState[] states,
GpioPinDigitalOutput targetPin,
PinState targetPinState) |
GpioSetStateTrigger(PinState state,
GpioPinDigitalOutput targetPin,
PinState targetPinState) |
Modifier and Type | Method and Description |
---|---|
PinState |
getTargetPinState() |
void |
invoke(GpioPin pin,
PinState state) |
getTargetPin
addPinState, addPinState, hasPinState
public GpioSetStateTrigger(GpioPinDigitalOutput targetPin, PinState targetPinState)
public GpioSetStateTrigger(PinState state, GpioPinDigitalOutput targetPin, PinState targetPinState)
public GpioSetStateTrigger(PinState[] states, GpioPinDigitalOutput targetPin, PinState targetPinState)
public GpioSetStateTrigger(List<PinState> states, GpioPinDigitalOutput targetPin, PinState targetPinState)
public PinState getTargetPinState()
public void invoke(GpioPin pin, PinState state)
invoke
in interface GpioTrigger
invoke
in class GpioTriggerBase
Copyright © 2012–2019 Pi4J. All rights reserved.