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