PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
#include "mx2125.h"
Go to the source code of this file.
Functions | |
int | mx_tilt (int axisPin) |
Measure the level of tilt in terms of +/- 90 degrees. 0 degrees is when the top surface of the accelerometer chip is parallel to the ground. More... | |
int mx_tilt | ( | int | axisPin | ) |
Measure the level of tilt in terms of +/- 90 degrees. 0 degrees is when the top surface of the accelerometer chip is parallel to the ground.
axisPin | Number of I/O pin connected to either of MX2125's X- or Y- axis pins. |
Definition at line 7 of file mx2125_tilt.c.