compass3d library  v0.85
3D compass distance monitoring library for educational applications
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 "simplei2c.h"
26 #include "simpletools.h"
27 
51 void compass_init(i2c *bus);
52 
75 void compass_read(i2c *bus, int *px, int *py, int *pz);
76 
77 #if defined(__cplusplus)
78 }
79 #endif
80 /* __cplusplus */
81 #endif
82 /* COMPASS3D_H */
83