We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7748a3 commit fbbf89dCopy full SHA for fbbf89d
docs/TiltSensor.md
@@ -23,7 +23,7 @@ hub.tilt_sensor.unsubscribe(callback)
23
- `MODE_2AXIS_ANGLE` - use `callback(roll, pitch)` for 2-axis roll&pitch degree values
24
- `MODE_3AXIS_SIMPLE` - use `callback(state)` for 3-axis simple state detect
25
- `MODE_3AXIS_ACCEL` - use `callback(roll, pitch, yaw)` for 3-axis roll&pitch&yaw degree values
26
-- `MODE_BUMP_COUNT` - use `callback(count)` to detect bumps
+- `MODE_IMPACT_COUNT` - use `callback(count)` to detect bumps
27
28
There are tilt sensor constants for "simple" states, for 2-axis mode their names are also available through `TiltSensor.DUO_STATES`:
29
- `DUO_HORIZ` - "HORIZONTAL"
0 commit comments