I-O DATA DEV2 / Mbed 2 deprecated ud-gs4-R_400G_SD_Log_No2

Dependencies:   mbed SDFileSystem_

Files at this revision

API Documentation at this revision

Comitter:
tnanbu
Date:
Mon Sep 06 07:30:43 2021 +0000
Parent:
27:e7bc38c6399c
Commit message:
a

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Sep 06 07:23:15 2021 +0000
+++ b/main.cpp	Mon Sep 06 07:30:43 2021 +0000
@@ -106,7 +106,7 @@
     //az+= tz;
     //as+= scr;
     //cnt++;
-    pc.printf("time(%d)new x:%2.2f y:%2.2f,z:%2.2f scaler = %2.2f \r\n",time(NULL),(float)tx*0.005,(float)ty*0.005,(float)tz*0.005,(float)scr*0.005);
+    pc.printf("%d,new x:%2.2f y:%2.2f,z:%2.2f scaler = %2.2f \r\n",time(NULL),(float)tx*0.005,(float)ty*0.005,(float)tz*0.005,(float)scr*0.005);
     //pc.printf("new x:%d y:%d,z:%d scaler = %d \r\n",tx,ty,tz,scr);
     
     if ( max_g < scr) {