Skip to content

Commit fbbf89d

Browse files
committed
Fixed name of impact count mode in documentation.
1 parent c7748a3 commit fbbf89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/TiltSensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ hub.tilt_sensor.unsubscribe(callback)
2323
- `MODE_2AXIS_ANGLE` - use `callback(roll, pitch)` for 2-axis roll&pitch degree values
2424
- `MODE_3AXIS_SIMPLE` - use `callback(state)` for 3-axis simple state detect
2525
- `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
26+
- `MODE_IMPACT_COUNT` - use `callback(count)` to detect bumps
2727

2828
There are tilt sensor constants for "simple" states, for 2-axis mode their names are also available through `TiltSensor.DUO_STATES`:
2929
- `DUO_HORIZ` - "HORIZONTAL"

0 commit comments

Comments
 (0)