Motion Angle

Motion Angle is a user-space program written in C, which uses the Linux IIO device driver to read the three-axis acceleration of the g-sensor and use it to calculate the tilt angle of the board.