111

Dependencies:   yezhong_main_controller_copy mbed1-dev

Revision:
0:d80c66cb1b3a
Child:
5:2503c88a564f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DATA_BOARD/data_board.h	Tue Nov 10 09:09:58 2020 +0000
@@ -0,0 +1,54 @@
+#ifndef _DATA_BOARD_H
+#define _DATA_BOARD_H
+
+
+#include "mbed.h"
+#include "math_ops.h"
+
+
+extern Serial      foot;
+
+
+
+//extern unsigned int flag_485_A, flag_485_B;
+//extern unsigned int S485num;
+//extern uint16_t S485get[10];                                                    
+extern uint16_t S485use[10];
+
+////////////////////////////////////////////////////////////////////////////////
+
+extern unsigned int Gait_num_valid, Gait_now, Gait_per_now, Gait_cycle_now;
+extern float COP_Y, COP_X;
+extern uint16_t Gait_per_now_int, COP_Y_int, COP_X_int, Gait_cycle_now_int;
+
+extern unsigned int Gait_num_valid_0before, Gait_now_0before;
+extern float Gait_per_now_0before, COP_Y_0before, COP_X_0before, Gait_cycle_now_0before;
+
+extern unsigned int Gait_num_valid_real, Gait_now_real, Gait_per_now_real, Gait_cycle_now_real, time_portion_now_real;
+extern float COP_Y_real, COP_X_real;
+
+
+//void gait_decode();
+//void gait_clear();
+
+////////////////////////////////////////////////////////////////////////////////
+
+void serial_board_isr();
+
+////////////////////////////////////////////////////////////////////////////////
+
+#endif
+
+
+
+
+
+
+
+
+
+
+
+
+
+