libwallaby  v24
The wallaby standard library
accel.h
Go to the documentation of this file.
1 /*
2  * accel.h
3  *
4  * Created on: Nov 5, 2015
5  * Author: Joshua Southerland
6  */
7 
8 #ifndef INCLUDE_WALLABY_ACCEL_H_
9 #define INCLUDE_WALLABY_ACCEL_H_
10 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
28 signed short accel_x();
29 
30 
38 signed short accel_y();
39 
40 
48 signed short accel_z();
49 
50 
57 int accel_calibrate();
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 
64 #endif /* INCLUDE_WALLABY_ACCEL_H_ */
accel_x
signed short accel_x()
Gets the sensed x acceleration \description +/- 2G range, 1024 per G \description This should be appr...
accel_z
signed short accel_z()
Gets the sensed z acceleration \description +/- 2G range, 1024 per G \description This should be appr...
accel_y
signed short accel_y()
Gets the sensed y acceleration \description +/- 2G range, 1024 per G \description This should be appr...
accel_calibrate
int accel_calibrate()