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