enableSerialPort
Enable serial interface
Description
enableSerialPort(
enables
the indicated port and configures the GPIO pins for use as serial
(UART) pins. After the hardware starts, the serial ports are disabled
by default.bbb
, port
)
For example, on a BeagleBone® Black Rev 00C0 board, enableSerialPort(bbb, 1)
makes P9_24
(UART1_TX
) and
P8_26
(UART1_RX
) available for use as
serial pins.
To disable the serial interface, restart the hardware.
Examples
Input Arguments
Version History
Introduced in R2015a