PIC32 how to use UART, properly setting
File list:
PIC32_UART_CodeExample_091213
............................\PIC32_UART_CodeExample
............................\......................\uart_basic
............................\......................\..........\source
............................\......................\..........\......\uart_basic.c
............................\......................\..........\uart_basic.X
............................\......................\..........\............\build
............................\......................\..........\............\.....\default
............................\......................\..........\............\.....\.......\production
............................\......................\..........\............\dist
............................\......................\..........\............\....\default
............................\......................\..........\............\....\.......\production
............................\......................\..........\............\nbproject
............................\......................\..........\............\.........\private
............................\......................\..........\............\.........\.......\configurations.xml
............................\......................\..........\............\.........\.......\private.properties
............................\......................\..........\............\.........\.......\private.xml
............................\......................\..........\............\.........\configurations.xml
............................\......................\..........\............\.........\Makefile-default.mk
............................\......................\..........\............\.........\Makefile-genesis.properties
............................\......................\..........\............\.........\Makefile-impl.mk
............................\......................\..........\............\.........\Makefile-local-default.mk
............................\......................\..........\............\.........\Makefile-variables.mk
............................\......................\..........\............\.........\Package-default.bash
............................\......................\..........\............\.........\project.properties
............................\......................\..........\............\.........\project.xml
............................\......................\..........\............\Makefile
............................\......................\..........\build.bat
............................\......................\..........\README.txt
............................\......................\..........\uart_basic.mcp
............................\......................\uart_interrupt
............................\......................\..............\source
............................\......................\..............\......\uart_interrupt.c
............................\......................\..............\uart_interrupt.X
............................\......................\..............\................\build
............................\......................\..............\................\.....\default
............................\......................\..............\................\.....\.......\production
............................\......................\..............\................\dist
............................\......................\..............\................\....\default
............................\......................\..............\................\....\.......\production
............................\......................\..............\................\nbproject
............................\......................\..............\................\.........\private
............................\......................\..............\................\.........\.......\configurations.xml
............................\......................\..............\................\.........\.......\private.properties
............................\......................\..............\................\.........\.......\private.xml
............................\......................\..............\................\.........\configurations.xml
............................\......................\..............\................\.........\Makefile-default.mk
............................\......................\..............\................\.........\Makefile-genesis.properties
............................\......................\..............\................\.........\Makefile-impl.mk
............................\......................\..............\................\.........\Makefile-local-default.mk
............................\......................\..............\................\.........\Makefile-variables.mk
............................\......................\..............\................\.........\Package-default.bash
............................\......................\..............\................\.........\project.properties
............................\......................\..............\................\.........\project.xml
............................\......................\..............\................\Makefile
............................\......................\..............\................\newmain.c
............................\......................\..............\build.bat
............................\......................\..............\README.txt
............................\......................\..............\uart_interrupt.mcp