使用赋码仪主板 app升级,方案升级验证通过

This commit is contained in:
ranchuan
2023-10-11 18:10:06 +08:00
parent ed9e4c0c3e
commit f0f36cf79a
25 changed files with 324 additions and 207 deletions

View File

@@ -131,10 +131,13 @@ class protm:
u=protm("com5")
u=protm("com7")
# u.start_recv()
# u.wait()
u.cmd=1
u.addr=1
u.addr=0
u.host_addr=0
print(u.encode(bytearray()).hex(","))
u.cmd=0x13
print(u.encode(bytearray()).hex(" "))
u.cmd=0x0c
print(u.encode(bytearray()).hex(" "))