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