DECS @UNIST / Mbed 2 deprecated Anybaro_ver_7

Dependencies:   mbed

Revision:
11:5f05b14649ee
Parent:
10:3fcaf50f528f
Child:
15:e5e34512a00e
--- a/ForceRead.cpp	Tue Jul 02 04:44:35 2019 +0000
+++ b/ForceRead.cpp	Tue Jul 02 21:34:50 2019 +0000
@@ -115,22 +115,23 @@
     force_R[2] = force_R3.read();
     force_R[3] = force_R4.read();
     
-//    bt.printf("%1.3f,%1.3f,%1.3f,%1.3f\n",force_R[0],force_R[1],force_R[2],force_R[3]);
-    bt.putc('<');
-    bt.putc('F');
-    bt.putc('O');
-    bt.putc('T');
-//    bt.putc((char)((unsigned int)(force_L[0]*127)));
-//    bt.putc((char)((unsigned int)(force_L[1]*127)));
-//    bt.putc((char)((unsigned int)(force_L[2]*127)));
-//    bt.putc((char)((unsigned int)(force_L[3]*127)));
-    bt.putc((char)((unsigned int)(force_R[0]*127)));
-    bt.putc((char)((unsigned int)(force_R[1]*127)));
-    bt.putc((char)((unsigned int)(force_R[2]*127)));
-    bt.putc((char)((unsigned int)(force_R[3]*127)));
-    bt.putc('>');
-    bt.putc('\r');
-    bt.putc('\n');
+    bt.putc('2');
+////    bt.printf("%1.3f,%1.3f,%1.3f,%1.3f\n",force_R[0],force_R[1],force_R[2],force_R[3]);
+//    bt.putc('<');
+//    bt.putc('F');
+//    bt.putc('O');
+//    bt.putc('T');
+////    bt.putc((char)((unsigned int)(force_L[0]*127)));
+////    bt.putc((char)((unsigned int)(force_L[1]*127)));
+////    bt.putc((char)((unsigned int)(force_L[2]*127)));
+////    bt.putc((char)((unsigned int)(force_L[3]*127)));
+//    bt.putc((char)((unsigned int)(force_R[0]*127)));
+//    bt.putc((char)((unsigned int)(force_R[1]*127)));
+//    bt.putc((char)((unsigned int)(force_R[2]*127)));
+//    bt.putc((char)((unsigned int)(force_R[3]*127)));
+//    bt.putc('>');
+//    bt.putc('\r');
+//    bt.putc('\n');