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_accel (int axisPin) |
Measure acceleration in terms of g (acceleration due to earth's gravity). A measurement of +/-1250 corresponds to approximately +/- 1 g. More... | |
int mx_accel | ( | int | axisPin | ) |
Measure acceleration in terms of g (acceleration due to earth's gravity). A measurement of +/-1250 corresponds to approximately +/- 1 g.
axisPin | Number of I/O pin connected to either MX2125's X- or Y- axis pins. |
Definition at line 7 of file mx2125_accel.c.