Đã fix lỗi, ct chạy tốt.
#include <htc.h>
#include <stdio.h>
#include "uart.h"
#include "i2c.h"
//#include "lcd.h"
__CONFIG(INTIO & WDTDIS & PWRTEN & MCLREN & UNPROTECT & DUNPROTECT & BORDIS & IESODIS & FCMDIS & LVPDIS);
//baudrate 19200
//+++++++++++++++++++++++++DEFINE...