Uses of Enum Class
com.pi4j.crowpi.components.TiltSensorComponent.TiltState
-
Uses of TiltSensorComponent.TiltState in com.pi4j.crowpi.components
Modifier and TypeMethodDescriptionTiltSensorComponent.getState()
Returns the current state of the tilt sensor.TiltSensorComponent.mapDigitalState
(com.pi4j.io.gpio.digital.DigitalState digitalState) Maps aDigitalState
to a well-knownTiltSensorComponent.TiltState
Returns the enum constant of this class with the specified name.static TiltSensorComponent.TiltState[]
TiltSensorComponent.TiltState.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
TiltSensorComponent.dispatchSimpleEvents
(TiltSensorComponent.TiltState value) Analyzes the given value passed by an event and triggers 0-n simple events based on it.