public abstract class GpioTriggerBase extends Object implements GpioTrigger
| Constructor and Description |
|---|
GpioTriggerBase() |
GpioTriggerBase(List<PinState> states) |
GpioTriggerBase(PinState state) |
GpioTriggerBase(PinState[] states) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPinState(List<? extends PinState> states) |
void |
addPinState(PinState... state) |
boolean |
hasPinState(PinState state) |
abstract void |
invoke(GpioPin pin,
PinState state) |
public GpioTriggerBase()
public GpioTriggerBase(PinState state)
public GpioTriggerBase(PinState[] states)
public GpioTriggerBase(List<PinState> states)
public void addPinState(PinState... state)
addPinState in interface GpioTriggerpublic void addPinState(List<? extends PinState> states)
addPinState in interface GpioTriggerpublic boolean hasPinState(PinState state)
hasPinState in interface GpioTriggerpublic abstract void invoke(GpioPin pin, PinState state)
invoke in interface GpioTriggerCopyright © 2012–2019 Pi4J. All rights reserved.