generated from hulk/gd32e23x_template
已经按照例程实现基本的功能,但是为什么串口转发的是前一个包
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "gd32e23x.h"
|
||||
#include "systick.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include "ldc1612.h"
|
||||
#include "tmp112.h"
|
||||
@@ -36,6 +37,12 @@ typedef enum
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
uint8_t Command_Write(uint8_t *data, uint8_t length);
|
||||
|
||||
uint8_t Command_GetCommand(uint8_t *command);
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
void rs485_config(void);
|
||||
|
||||
void process_command(uint8_t* cmd, size_t length);
|
||||
|
Reference in New Issue
Block a user