111

Dependencies:   yezhong_main_controller_copy mbed1-dev

Revision:
5:2503c88a564f
Parent:
0:d80c66cb1b3a
Child:
6:902ba9999d6c
diff -r 940a9e40d327 -r 2503c88a564f DATA_BOARD/data_board.cpp
--- a/DATA_BOARD/data_board.cpp	Wed Jun 30 12:15:37 2021 +0000
+++ b/DATA_BOARD/data_board.cpp	Tue Jan 11 02:19:55 2022 +0000
@@ -105,9 +105,21 @@
                 }
                 
                 gait_decode();
-                pc.printf("OK\n");
+               // pc.printf("OK\n");
                 gait_clear(); 
             } 
         }
     }
-}
\ No newline at end of file
+}
+
+AnalogIn    LaLi_pf(PC_1);
+AnalogIn    LaLi_df(PC_2);
+AnalogIn    LaLi_df1(PC_3);
+
+float La_pf_real = 0.0f, La_df_real = 0.0f,La_df1_real = 0.0f;
+float Ffilter_pf[10 + 2] = {0.0f};
+float pf_filter = 0.0f;
+float F_pf = 0.0f;
+
+
+