航空研究会 / Mbed 2 deprecated HMC5883L_kai_4

Dependencies:   mbed HMC5883L_kai_3

Revision:
2:2ce6c35efc65
Parent:
1:c91577293e84
Child:
3:8b34748c199c
--- a/main.cpp	Thu Feb 07 06:14:43 2019 +0000
+++ b/main.cpp	Fri Nov 15 12:21:29 2019 +0000
@@ -9,7 +9,7 @@
   
    while(1){
        compass.init();
-       b= compass.getHeadingXYDeg(20,50);
+       b= compass.getHeadingXYDeg(-152,286);
        printf("%lf\r\n",b);
        
       // wait(0.);