串口16进制转10进制(解析数据) #197
itcs1123
started this conversation in
投稿 Scripts submit
Replies: 1 comment
-
… ---原始邮件---
发件人: ***@***.***>
发送时间: 2025年5月15日(周四) 下午5:39
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [chenxuuu/llcom] 串口16进制转10进制(解析数据) (Discussion #197)
作者 lu.
脚本名 串口16进制转10进制(解析数据)
脚本功能 串口16进制转10进制
版本 vesion (0.1.0)
备注 notes
apiSetCb("uart", function (data) local num1 = string.byte(data, 1) local num2 = string.byte(data, 2) print(string.format(" %d", num1*256+num2),) end) your script
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions