Main Content

串行端口

使用 Raspberry Pi® 的串行端口

连接和控制 Raspberry Pi 串行端口的接入设备

函数

readRead data from serial device
writeWrite data to serial device

对象

raspiConnection to Raspberry Pi board
serialdevConnection to serial device on Raspberry Pi hardware

主题

疑难解答

Troubleshoot Raspberry Pi Serial Port

Troubleshoot serial port on Raspberry Pi hardware.

精选示例