summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordragonprevost <dragon@dkp.io>2018-11-13 12:00:44 -0800
committerdragonprevost <dragon@dkp.io>2018-11-13 12:00:44 -0800
commit93b7465821b72332a5f917496e637a6453bafc67 (patch)
tree13962a81e6c2715892d375707a7aefd2c599987e
parentf5725d13ef13953ffdb1c430e64b7c382aeb8285 (diff)
moved vector imafe
-rw-r--r--readme.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 5f592bd..a0b6898 100644
--- a/readme.md
+++ b/readme.md
@@ -14,7 +14,7 @@ wp85: ``make wp85``
## Setting Variables
To change the sensitivity of impact detection you must edit the `motionMonitor/motionMonitor.c` file.
-The Accelerometer measures acceleration in 3 dimensions, X, Y, and Z. These dimensions of acceleration are recorded and the magnitude of their resulting vector is calculated using ``double impactMagnitude = sqrt(x * x + y * y + z * z);``
+The Accelerometer measures acceleration in 3 dimensions, X, Y, and Z. These dimensions of acceleration are recorded and the magnitude of their resulting vector is calculated using ``double impactMagnitude = sqrt(x * x + y * y + z * z);``. As visualized in the image below.
![Magnitude](https://www.intmath.com/vectors/img/235-3D-vector.png)
@@ -23,4 +23,3 @@ The Accelerometer measures acceleration in 3 dimensions, X, Y, and Z. These dime
If adjusting the value of `DEFAUTL_THRESHOLD_MS2` keep in mind that gravity implies a motionless magnitude of -9.8m/s^2
-As visualized with the red vector here.