pyocd_rtt_write
Send text data to an embedded device's RTT down channel for debugging and communication. Encodes the string and returns the number of bytes written.
Instructions
Write data to an RTT down channel. The data string is encoded before sending. Returns bytes written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Text data to send | |
| channel | No | Down channel index (default 0) | |
| encoding | No | Text encoding (default 'utf-8') | utf-8 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |