111

Dependencies:   yezhong_main_controller_copy mbed1-dev

DATA_BOARD/data_board.h

Committer:
yezhong
Date:
2022-02-22
Revision:
7:d1b09098579b
Parent:
6:902ba9999d6c

File content as of revision 7:d1b09098579b:

#ifndef _DATA_BOARD_H
#define _DATA_BOARD_H


#include "mbed.h"
#include "math_ops.h"


extern Serial      foot;

extern Serial      zitai_foot;
extern unsigned int zitaifoot_A, zitaifoot_B;
extern unsigned int zitaifoot_num;
extern uint16_t zitaifoot_get[9];                                                    
extern uint16_t zitaifoot_use[9];
extern   float zitaifoot_shou[3];
extern float foot_angle_x,foot_angle_y,foot_angle_z;





////////////////////////////////////////////////////////////////////////////////

void serial_board_isr();

void serial_zitai_foot_isr();
void zitaifoot_decode();
void zitaifoot_clear();

////////////////////////////////////////////////////////////////////////////////



extern AnalogIn    LaLi_pf;
extern AnalogIn    LaLi_df;
extern AnalogIn    LaLi_df1;

extern float La_pf_real, La_df_real,La_df1_real;
extern float Ffilter_pf[10 + 2];
extern float pf_filter ;
extern float F_pf;

#endif