compass3d library
v0.8
3D compass distance monitoring library for educational applications
Main Page
Files
File List
Globals
compass3d.h
Go to the documentation of this file.
1
18
#ifndef COMPASS3D_H
19
#define COMPASS3D_H
20
21
#if defined(__cplusplus)
22
extern
"C"
{
23
#endif
24
25
#include <i2c.h>
26
50
void
compass_init(I2C *bus);
51
74
void
compass_read(I2C *bus,
int
*px,
int
*py,
int
*pz);
75
76
#if defined(__cplusplus)
77
}
78
#endif
79
/* __cplusplus */
80
#endif
81
/* COMPASS3D_H */
82
Generated on Sun Apr 28 2013 06:54:43 for compass3d library by
1.8.1.2