Main Content

Serial Port

Use the Raspberry Pi®’s serial port

Connect to and control devices attached to the serial port of Raspberry Pi

Functions

readRead data from serial device
writeWrite data to serial device

Objects

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

Topics

Troubleshooting

Troubleshoot Raspberry Pi Serial Port

Troubleshoot serial port on Raspberry Pi hardware.

Featured Examples