The library for the HMC5883L, which allows you to receive directional information from this library.
Dependents: Seeed_Grove_Digital_Compass_Example
Fork of HMC5883L by
Diff: HMC5883L.h
- Revision:
- 2:8eb755577f83
- Parent:
- 1:8a1357c351c6
- Child:
- 3:14d274e0f9de
diff -r 8a1357c351c6 -r 8eb755577f83 HMC5883L.h --- a/HMC5883L.h Wed Oct 31 05:06:34 2012 +0000 +++ b/HMC5883L.h Thu Nov 01 18:43:52 2012 +0000 @@ -79,7 +79,7 @@ #define M_PI 3.1415926535897932384626433832795 #endif -#define 2PI (2*M_PI) +#define PI2 (2*M_PI) #define RAD_TO_DEG (180.0/M_PI) #define DEG_TO_RAD (M_PI/180.0)