libwallaby  v24
The wallaby standard library
accel.h File Reference

Go to the source code of this file.

Functions

signed short accel_x ()
 Gets the sensed x acceleration \description +/- 2G range, 1024 per G \description This should be approximately 0 when at rest and flat on a table. More...
 
signed short accel_y ()
 Gets the sensed y acceleration \description +/- 2G range, 1024 per G \description This should be approximately 0 when at rest and flat on a table. More...
 
signed short accel_z ()
 Gets the sensed z acceleration \description +/- 2G range, 1024 per G \description This should be approximately -1024 when at rest and flat on a table. More...
 
int accel_calibrate ()