GestureSensor class
PixArt PAJ7620U2 chip, can recognize 9 basic gestures.
See for more
- PAJ7620U2 example code
- Source code
- Datasheet
- This code bases on grove_gesture_sensor.py
Constructors
- GestureSensor(I2C i2c, [int gestureReactionTime = _gestureReactionTime, int gestureQuitTime = _gestureQuitTime])
- Creates a PAJ7620U2 sensor instance that uses i2c bus with the optional parameter gestureReactionTime and gestureQuitTime.
Properties
- gestureQuitTime ↔ int
-
getter/setter pair
- gestureReactionTime ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- i2c → I2C
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getGesture(
) → Gesture - Returns the actual detected gesture.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited