添加检测时赋码

心跳ack为0时才回复
This commit is contained in:
ranchuan
2023-09-26 17:23:57 +08:00
parent d8e41f133b
commit 56044eabf4
7 changed files with 76 additions and 20 deletions

View File

@@ -74,6 +74,8 @@ code_errinfo_list=[
"6:未找到相关任务",
"7:过流",
"8:短路",
"52:三码绑定失败",
"53:三码验证失败"
"193:电压设置失败",
"194:三码验证失败",
"195:UID写入失败",

View File

@@ -116,8 +116,8 @@ if __name__ == "__main__":
# p.ecode_test(50000)
# 赋码仪设备串口测试
p.open("com5",115200)
p.coder_test(5)
p.open("com7",115200)
p.coder_test(1)
# p.open("com16",115200)
# p.coder_test(1000)