任务单 #41036

How to use/read buffer characters in macro

开放日期: 2020-12-07 17:57 最后更新: 2020-12-07 18:05

报告人:
属主:
(无)
类型:
状态:
关闭
组件:
里程碑:
(无)
优先:
8
严重性:
5 - Medium
处理结果:
文件:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

Where are the characters received from a host COM port (MCU) stored and how can i use them?

I found here: https://ttssh2.osdn.jp/manual/4/en/macro/command/flushrecv.html it says:

"Characters received from the host are transferred to MACRO. MACRO stores the characters in the buffer. Character-reading commands, such as the "wait" command, read out them from the buffer."

i tried using 'dispstr buffer' , but it shows me an error, that this variable does not exist. How can i read/use the buffer?

任务单历史 (2/2 Histories)

2020-12-07 17:57 Updated by: basilisvirus
  • New Ticket "How to use/read buffer characters in macro" created
2020-12-07 18:05 Updated by: basilisvirus
  • 状态 Update from 开启 to 关闭
评论

Found it.

Here: https://ttssh2.osdn.jp/manual/4/en/macro/command/waitln.html

It says: These commands return the received line in the system variable "inputstr"

Attachment File List

No attachments

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名