Just added a software serial routine to communicate through the PICkit 2 connections to the PICkit 2 UART Terminal and display the ADC reading on the AN0 pin. This is a handy snippet of code because you can add it to any project and display data while your program is running. It's like having a simple debugger.
The PICkit 2 UART Tool is described in our Great Cow Basic user manual Appendix A. You can download the user manual on our Getting Started page.