Nucleo-transfer

Dependencies:   ADS1015 MPU6050 PixelArray-Nucleo mbed

Fork of Momo_Pilot_1 by Momo Medical

Revision:
18:3b2686cdbcb7
Parent:
17:6ec7d594c1f1
Child:
19:3b5999fa7b7e
--- a/Sensorplate/main.cpp	Thu Sep 28 20:19:21 2017 +0000
+++ b/Sensorplate/main.cpp	Thu Sep 28 20:22:37 2017 +0000
@@ -351,22 +351,21 @@
     //receiving order: 8 resistive sensors, 5 electric readings, 3 accelerometer axes, 3 gyroscope axes
     
     serial_read();
-
     if (mute_flag == 1) {
-        pi.printf(">01\n");
+        pi.printf(“>01\n”);
+        pc.printf(“>01\n”);
         mute_flag = 0;
-        LED_intern4 = 1;
-    } else {
-        LED_intern4 = 0;
-    }
+    } 
 
-    if (new_patient_flag == 1) {
-        pi.printf(">02\n");
+   if (new_patient_flag == 1) {
+        pi.printf(“>03\n”);
+        pc.printf(“>03\n”);
         new_patient_flag = 0;
     }
 
-    if (reposition_flag == 1) {
-        pi.printf(">03\n");
+   if (reposition_flag == 1) {
+        pi.printf(“>02\n”);
+        pc.printf(“>02\n”);
         reposition_flag = 0;
     }