Skip to content

Commit

Permalink
Fixed name of impact count mode in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
elias-lange committed May 13, 2021
1 parent c7748a3 commit fbbf89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/TiltSensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ hub.tilt_sensor.unsubscribe(callback)
- `MODE_2AXIS_ANGLE` - use `callback(roll, pitch)` for 2-axis roll&pitch degree values
- `MODE_3AXIS_SIMPLE` - use `callback(state)` for 3-axis simple state detect
- `MODE_3AXIS_ACCEL` - use `callback(roll, pitch, yaw)` for 3-axis roll&pitch&yaw degree values
- `MODE_BUMP_COUNT` - use `callback(count)` to detect bumps
- `MODE_IMPACT_COUNT` - use `callback(count)` to detect bumps

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

0 comments on commit fbbf89d

Please sign in to comment.