Skip to content

Commit 41b9b4e

Browse files
committed
Replace reference to missing setMotion function
1 parent 9dc0aba commit 41b9b4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/TheThingsNode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,10 @@ void onMotionStop(void(*callback)(unsigned long duration));
255255
- `unsigned long duration`: Time since the motion began, in ms.
256256

257257
### Method: isMoving
258-
Returns `true` if the device is currently moving. Requires the sensor to be enabled via `onMotionStart()`, `onMotionStop()` or `setMotion()`.
258+
Returns `true` if the device is currently moving. Requires the sensor to be enabled via `onMotionStart()`, `onMotionStop()` or `configMotion()`.
259259

260260
### Method: getAcceleration
261-
Returns the acceleration measured by the motion sensor in [units of g-force](https://en.wikipedia.org/wiki/G-force). Each of the values x, y and z falls in the range -2g to +2g. This function is useful to determine the orientation of the sensor relative to the earth, as gravity causes a 1g acceleration towards the centre of the earth. Requires the sensor to be enabled via `onMotionStart()`, `onMotionStop()` or `setMotion()`.
261+
Returns the acceleration measured by the motion sensor in [units of g-force](https://en.wikipedia.org/wiki/G-force). Each of the values x, y and z falls in the range -2g to +2g. This function is useful to determine the orientation of the sensor relative to the earth, as gravity causes a 1g acceleration towards the centre of the earth. Requires the sensor to be enabled via `onMotionStart()`, `onMotionStop()` or `configMotion()`.
262262

263263
```c
264264
void getAcceleration(float *x, float *y, float *z);

0 commit comments

Comments
 (0)