write_rtt
Send text data to a target microcontroller's RTT input channel. Specify the text string and optional channel number to write, and receive the number of bytes written.
Instructions
向 RTT 输入通道发送数据(发送到目标单片机)。
Args: text: 要发送的文本字符串。 channel: RTT 通道号,默认 0。
Returns: 实际写入的字节数。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| channel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |