# 串口通信

## 简介

串口通信指的是Arduino开发板通过USB线与电脑通信，经常用于显示Arduino程序的运行状态、输入实时的指令等。此外，Arduino程序无法调试，因此串口通信就显得非常重要。

串口通信主要使用 `Serial` 类。

## 目录

{% content-ref url="/pages/-MYz9BhyTZUZJD-S2Rmn" %}
[begin](/core/serial/begin.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MYz9O7zlbq0\_Kvvu\_Bj" %}
[print](/core/serial/print.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MYz9oAHCfIksSXpSYkF" %}
[read](/core/serial/read.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MYzA4r-Q\_VyYosk-9cv" %}
[其它方法](/core/serial/other.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://arduino.doc.skyone.host/core/serial.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
