+**Note:** An accelerometer cannot measure **yaw** because Earth's gravity acts in the same direction as the Z-axis, which prevents the accelerometer from measuring rotation on the Z-axis. Instead, a different sensor called a **magnetometer** (i.e., digital compass) could be used to measure yaw by measuring an object's orientation relative to Earth's magnetic north pole. (Reference: [IoT Code Guidebook - Accelerometer](https://docs.idew.org/code-internet-of-things/references/physical-inputs/accelerometer))
0 commit comments