This little program reads ADC from AN7, converts and converts it to Celsius. There's a LM34 connected to AN7. TX is connected to a USB-RS232 converter.
All the Uart - code is in the uart_header and uart_source files.
// INCLUDE LIBRARIES #include <xc.h> #include <stdio.h …