3-Axis Digital Compass IC
Diff: HMC5883L.h
- Revision:
- 4:f95da142fd3a
- Parent:
- 3:8cec250013ff
--- a/HMC5883L.h Fri Oct 13 15:42:45 2017 +0000 +++ b/HMC5883L.h Fri Oct 13 15:44:23 2017 +0000 @@ -86,7 +86,7 @@ //Plot the result pc.printf( "ID_A: %d ( %d ) ID_B: %d ( %d ) ID_C: %d ( %d )\r\n", myData.IdentificationRegisterA, HMC5883L::ID_REGISTER_A, myData.IdentificationRegisterB, HMC5883L::ID_REGISTER_B, - myData.IdentificationRegisterC, HMC5883L::ID_REGISTER_C ); + myData.IdentificationRegisterC, HMC5883L::ID_REGISTER_C ); newReading.attach( &readDATA, 0.5 ); // the address of the function to be attached ( readDATA ) and the interval ( 0.5s )