__C30_UART Constant

Constant that defines the default UART.

Include

N/A

Prototype

int __C30_UART;

Remarks

Defines the default UART that read() and write() will use for stdin (unless a file has been attached) and stdout.

Default Behavior

By default, or with a value of 1, UART 1 will be used. Otherwise, UART 2 will be used. read() and write() are the eventual destinations of the C standard I/O functions.