libwallaby  v23
The wallaby standard library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Magnetometer

Functions

signed short magneto_x ()
 
signed short magneto_y ()
 
signed short magneto_z ()
 
int magneto_calibrate ()
 

Detailed Description

Function Documentation

int magneto_calibrate ( )

Initiates a calibration of the magnetometer

Note
Not Yet Implemented
Returns
1: success 0: failure
signed short magneto_x ( )

Gets the sensed x magneto value

Returns
The latest signed x magneto value
signed short magneto_y ( )

Gets the sensed x magneto value

Returns
The latest signed y magneto value
signed short magneto_z ( )

Gets the sensed x magneto value

Returns
The latest signed z magneto value