添加485获取特定命令或者命令加参数的形式

This commit is contained in:
2024-12-03 15:34:23 +08:00
parent 699a8218f7
commit f5a936e022
4 changed files with 53 additions and 14 deletions

View File

@@ -5,7 +5,12 @@
#ifndef RS485_H
#define RS485_H
#include "gd32e23x_it.h"
#include <stdbool.h>
#include <string.h>
#define RX_BUFFER_SIZE 64
void process_command(char *cmd);
#endif //RS485_H