send_data.h 481 B

12345678910111213141516
  1. #ifndef __send_data_h__
  2. #define __send_data_h__
  3. #include "main.h"
  4. #define DEX_NUM 0
  5. #define CMD_HEART 0
  6. void send_data_to_com(int16_t s_pos[3], int16_t h_pos[3], int16_t s_att[3], int16_t h_att[3] , int16_t s_zupt, int16_t h_zupt, int16_t is_down, int16_t is_jump, int8_t s_rssi);
  7. void send_data_to_host(uint16_t press, int16_t pos_n_offset[3], int16_t att[3], int16_t zupt);
  8. void send_acc_mag_to_host(uint16_t press, int16_t accl[3], int16_t magn[3], int16_t zupt);
  9. #endif