From b0e48d940b314bc9c357a088e6fec1c75fc124a6 Mon Sep 17 00:00:00 2001 From: RB Date: Wed, 2 Apr 2025 21:56:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 19 +++++++++++++++++++ User/task/can.c | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7a43e24 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# Sick(DT35)电科--4-20mA_Acquisition_System + +## can +- id :0x001;在User\task\can.c中修改结构体默认值 +- 数据帧 +- 标准帧 +- DLC 8位 + +数据为1,2位拼一个uint16。发送的是原始数据 +频率100hz + +## uart +# Micro_usb :100hz float型:计算后的毫米数据 + + +## Led +LED1 闪烁表示线程征程 +LED2 闪烁表示can发送中 + diff --git a/User/task/can.c b/User/task/can.c index 5e080db..48dcb6c 100644 --- a/User/task/can.c +++ b/User/task/can.c @@ -15,7 +15,7 @@ /* Private define ----------------------------------------------------------- */ can_t can_debug = { .TxData = {0}, - .TxID = 0x023, + .TxID = 0x001, .TxStatus = 0, .DebugCounter = 0 };