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 GpioTrigger
public void addPinState(List<? extends PinState> states)
addPinState
in interface GpioTrigger
public boolean hasPinState(PinState state)
hasPinState
in interface GpioTrigger
public abstract void invoke(GpioPin pin, PinState state)
invoke
in interface GpioTrigger
Copyright © 2012–2019 Pi4J. All rights reserved.