Skip to main content

uart.disable()

Disables the UART interface

Availability

Device

Returns

Nothing

Description

Disable the target UART to save power, or before reconfiguring the pins for another role.

Example Code

The following code envisages the imp connected to a computer and an Arduino on the same bus but with different parameters. It uses uart.disable() to shut down the bus briefly before reconfiguring it for each connected device.