| Package | Description |
|---|---|
| io.silverspoon.bulldog.core | |
| io.silverspoon.bulldog.core.gpio | |
| io.silverspoon.bulldog.core.gpio.base |
| Modifier and Type | Method and Description |
|---|---|
static Signal |
Signal.fromBooleanValue(boolean value) |
static Signal |
Signal.fromNumericValue(int value) |
static Signal |
Signal.fromString(String value) |
Signal |
Signal.inverse() |
static Signal |
Signal.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Signal[] |
Signal.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Signal |
DigitalOutput.getAppliedSignal()
Gets the signal that is currently applied to the pin.
|
Signal |
DigitalInput.read()
Reads the current signal on the pin.
|
Signal |
DigitalInput.readDebounced(int debounceMilliseconds)
Reads the signal on the pin debounced.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DigitalOutput.applySignal(Signal signal)
Writes a state to the pin.
|
void |
DigitalOutput.write(Signal signal)
Writes a state to the pin.
|
| Modifier and Type | Method and Description |
|---|---|
Signal |
AbstractDigitalOutput.getAppliedSignal() |
Signal |
DigitalIOFeature.getAppliedSignal() |
Signal |
DigitalIOFeature.read() |
Signal |
AbstractDigitalInput.readDebounced(int debounceTime) |
Signal |
DigitalIOFeature.readDebounced(int debounceMilliseconds) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractDigitalOutput.applySignal(Signal signal) |
void |
DigitalIOFeature.applySignal(Signal signal) |
protected abstract void |
AbstractDigitalOutput.applySignalImpl(Signal signal) |
void |
AbstractDigitalOutput.write(Signal signal) |
void |
DigitalIOFeature.write(Signal signal) |
Copyright © 2015 silverspoon.io. All rights reserved.