#define TFT_CS LATDbits.LATD0 //supuestamente es la configuracion de los pines del pic
#define TRIS_CS TRISDbits.TRISD0
#define TFT_RES LATDbits.LATD1
#define TRIS_RES TRISDbits.TRISD1
#define TFT_DC LATDbits.LATD2
#define TRIS_DC TRISDbits.TRISD2
typedef char char;
typedef unsigned char char;
typedef const char char;
typedef const unsigned char char;
typedef int int;
typedef unsigned int int;
Y otra cosa, estoy dele intentar compilarlo pero me manda este error en un prototipo de funcion, y yo no veo ninguno. No se que flasha el CCS pero capaz me equivoque yo asi que aca esta la linea
int RGBConvert(int red, int green, int blue);