2023-05-3

This commit is contained in:
gitea committed 2023-05-03 18:18:03 +08:00
1 parent 633d9b872b
commit 063c3fcc07
74 files changed
+26281 -13954

No files matched your search

+6 -7
View File
@@ -3,13 +3,6 @@
#include<stdint.h>
#include "crc.h"
//static uint8_t s_tx_buffer[512];
//static uint16_t s_tx_length;
//static uint8_t rx_buffer[512];
// 读取保持寄存器的值
// addr 寄存器地址
// id 丛机地址
@@ -29,5 +22,11 @@ int modbus_m_read_regist(uint8_t id,uint16_t addr,uint16_t length,uint8_t * data
return index;
}
//// 解析通过03 命令读取回来额寄存器数据
//int modbus_m_read_regist_ack(uint)
//{
//
//}