problem of building source with a TFT library function

Beta Testing discussion on mikroC PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
mike360
Posts: 2
Joined: 07 Mar 2023 13:39

problem of building source with a TFT library function

#1 Post by mike360 » 07 Mar 2023 14:00

//
char TFT_DataPort at LATE;
sbit TFT_RST at LATD7_bit;
sbit TFT_BLED at LATD2_bit;
sbit TFT_RS at LATD9_bit;
sbit TFT_CS at LATD10_bit;
sbit TFT_RD at LATD5_bit;
sbit TFT_WR at LATD4_bit;
char TFT_DataPort_Direction at TRISE;
sbit TFT_RST_Direction at TRISD7_bit;
sbit TFT_BLED_Direction at TRISD2_bit;
sbit TFT_RS_Direction at TRISD9_bit;
sbit TFT_CS_Direction at TRISD10_bit;
sbit TFT_RD_Direction at TRISD5_bit;
sbit TFT_WR_Direction at TRISD4_bit;

void TFT_Init(unsigned int display_width, unsigned int display_height);



void main()
{
TFT_Init(240,320);
}

here is my piece of code I was experiencing and I have remarked errors at bulding

line 0 Message N° 360 Unresolved extern 'TFT_init'

line 0 Message N° 102 Finished (with errors)

Could anybody help me to find the reason of my problem.

Thank you very much!

Best regards,

Mike360

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: problem of building source with a TFT library function

#2 Post by filip » 10 Mar 2023 15:18

Hi,

Have you checked both TFT and TFT_Defs library in the package manager ?

Regards,
Filip.

Post Reply

Return to “mikroC PRO for dsPIC30/33 and PIC24 Beta Testing”