LEMotionSensorMode Constants Reference
Declared in | LEMotionSensor.h |
LEMotionSensorMode
Supported modes for the motion sensor
Definition
typedef NS_ENUM(uint8_t, LEMotionSensorMode ) {
LEMotionSensorModeDetect = 0,
LEMotionSensorModeCount = 1,
LEMotionSensorModeUnknown,
};
Constants
LEMotionSensorModeDetect
-
Detect mode - produces value that reflect the relative distance from the sensor to objects in front of it
Declared In
LEMotionSensor.h
. LEMotionSensorModeCount
-
Count mode - produces values that reflect how many times the sensor has been activated
Declared In
LEMotionSensor.h
. LEMotionSensorModeUnknown
-
Unknown (unsupported) mode
Declared In
LEMotionSensor.h
.
Declared In
LEMotionSensor.h