HEPTA-Sat Training 2022 / Mbed 2 deprecated Lab4-07_detect_magnetism

Dependencies:   HEPTA_EPS HEPTA_SENSOR mbed

Revision:
4:e4048da4453e
Parent:
3:ffb2234dadb7
Child:
5:b8e40a7ae247
--- a/main.cpp	Fri Aug 19 04:47:39 2022 +0000
+++ b/main.cpp	Fri Aug 19 05:25:18 2022 +0000
@@ -15,7 +15,7 @@
     pc.printf("Magnetometer Mode\r\n");
     for(int i = 0; i<50; i++) {
         sensor.sen_mag(&mx,&my,&mz);
-        pc.printf("mag : %f,%f,%f\r\n\r\n",mx,my,mz);
+        pc.printf("mag : %f,%f,%f\r\n",mx,my,mz);
         wait(1.0);
     }
 }
\ No newline at end of file