MX2125 2-Axis Accelermoeter Library
v0.8
Memsic Mx2125 accelerometer library for educational applications
Main Page
Files
File List
Globals
mx2125.h
Go to the documentation of this file.
1
14
#ifndef MX2125_H
15
#define MX2125_H
16
17
#if defined(__cplusplus)
18
extern
"C"
{
19
#endif
20
21
#include "simpletools.h"
22
27
#ifndef PI
28
#define PI 3.141592653589793
29
#endif
30
42
int
mx_accel
(
int
axisPin);
43
56
int
mx_rotate
(
int
xPin,
int
yPin);
57
68
int
mx_tilt
(
int
axisPin);
69
70
#if defined(__cplusplus)
71
}
72
#endif
73
/* __cplusplus */
74
#endif
75
/* MX2125_H */
76
Generated on Tue Apr 30 2013 17:14:44 for MX2125 2-Axis Accelermoeter Library by
1.8.1.2