feat: 增加 vofa 打印到上位机功能
This commit is contained in:
@@ -1,13 +1,21 @@
|
||||
#ifndef _JJ_BLUETEETH_H_
|
||||
#define _JJ_BLUETEETH_H_
|
||||
|
||||
#include "stdio.h"
|
||||
#include "zf_driver_uart.h"
|
||||
|
||||
#define BT_UART_INDEX UART_8
|
||||
#define BT_UART_BAUDRATE 115200
|
||||
#define BT_UART_TX_PIN UART8_MAP0_TX_C4
|
||||
#define BT_UART_RX_PIN UART8_MAP0_RX_C5
|
||||
|
||||
extern bool bt_rx_flag;
|
||||
extern uint8 bt_buffer; // 接收字符存入
|
||||
extern uint32_t bt_run_flag;
|
||||
extern uint8_t bt_fly_flag;
|
||||
extern uint32_t bt_run;
|
||||
extern uint32_t bt_fly;
|
||||
|
||||
void jj_bt_init();
|
||||
void jj_bt_run();
|
||||
void bt_printf(const char *format, ...);
|
||||
|
||||
Reference in New Issue
Block a user