roneos
Operating System for the r-one robot
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Groups
accelerometer.h
Go to the documentation of this file.
1
10
#ifndef ACCELEROMETER_H_
11
#define ACCELEROMETER_H_
12
13
/******** Defines ********/
14
15
#define ACCELEROMETER_X 0
16
#define ACCELEROMETER_Y 1
17
#define ACCELEROMETER_Z 2
18
19
void
accelerometer_init(
void
);
20
21
/******** Functions ********/
22
28
int16
accelerometerGetValue
(uint32 axis);
// external
29
30
31
32
#if defined(RONE_V6)
33
38
void
accelerometerUpdate(
void
);
39
#endif
40
41
#if defined(RONE_V9)
42
47
void
accelerometerUpdate(uint8 msgIn[]);
48
49
56
int16
accelerometerGetValue
(uint32 axis);
57
#endif
58
59
60
#if defined(RONE_V12)
61
66
void
accelerometerUpdate(uint8 msgIn[]);
67
68
75
int16
accelerometerGetValue
(uint32 axis);
76
#endif
77
78
#endif
/* ACCELEROMETER_H_ */
Sensors
accelerometer.h
Generated on Tue Jun 11 2013 14:40:45 for roneos by
1.8.4