Julius Bernth / Mbed OS Cuvette_Centrifuge_Test_v1-2_ParallelMode

Dependencies:   QEI LIS3DH_spi

Revision:
10:8a41143a9f52
Parent:
9:b1f53e4eb453
Child:
11:62d2a592b1ae
diff -r b1f53e4eb453 -r 8a41143a9f52 main.cpp
--- a/main.cpp	Thu Aug 12 13:42:41 2021 +0000
+++ b/main.cpp	Thu Aug 12 13:58:10 2021 +0000
@@ -170,7 +170,7 @@
             Tnow = testTimer.read();
             //check accel. If problem, change state to ERROR
             //check accel here
-            
+            //printf("x\r\n");
             /*
             Ax = 0.2*pinAx.read() + 0.8*Ax - 0.5;
             Ay = 0.2*pinAy.read() + 0.8*Ay - 0.5;
@@ -316,6 +316,9 @@
     while(1){    
         semStartTest.wait();
         printf("\r\n Test starting \r\n");
+        
+        //check if motor is spinning
+        
         state = STATE_RUNNING;
         //set up test
         testTimer.reset();