generated from Template/H563ZI-HAL-CMake-Template
添加Ble,以及修改了H5的一些基础配置
This commit is contained in:
27
fun/HCBle.h
Normal file
27
fun/HCBle.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef __HCBLE_H
|
||||
#define __HCBLE_H
|
||||
|
||||
#include "headfile.h"
|
||||
|
||||
// HCBle <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݶ<EFBFBD><DDB6><EFBFBD>
|
||||
typedef struct
|
||||
{
|
||||
int LeftSpeed;
|
||||
int RightSpeed;
|
||||
}MotorCommand;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
float lat;
|
||||
float lon;
|
||||
float angle;
|
||||
}LocationData;
|
||||
|
||||
|
||||
|
||||
#define DEBUG_EN 1
|
||||
#define RX_DataSize 128
|
||||
|
||||
extern uint8_t rx_data;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user