Page 1 of 1
Component LCD_ST7789V and PIC18F26k22
Posted: Tue Dec 09, 2025 10:33 am
by JAGagiano
3663: LCDDCPIN = FCL_DC;
(192) undefined identifier "LCDDCPIN"
Error from XC8
Re: Component LCD_ST7789V and PIC18F26k22
Posted: Tue Dec 09, 2025 11:23 am
by medelec35
Hello.
That is suggesting that within properties you have not assigned any pina to the LCD DC connection.
If you have assigned all the pins and still got an error then can you upload the fcfx, and msg.txt files.
Re: Component LCD_ST7789V and PIC18F26k22
Posted: Tue Dec 09, 2025 11:49 am
by JAGagiano
Hi Martin
Yes, I have setup all the pins correctly.
After compiling the message appear. Most likely from XC8.
When I look at the C code , I do not see the DC pin assigned to any port.
Re: Component LCD_ST7789V and PIC18F26k22
Posted: Tue Dec 09, 2025 12:01 pm
by JAGagiano
Hi Martin
You will see that after compiling the message from XC8.
Re: Component LCD_ST7789V and PIC18F26k22
Posted: Tue Dec 09, 2025 9:31 pm
by BenR
Hello,
Many thanks for letting us know, Looks like at some point we renamed A0 Pin to DC Pin and this has caused the compile error.
All fixed now in v10 and v11 via the library updates..
Re: Component LCD_ST7789V and PIC18F26k22
Posted: Tue Dec 09, 2025 10:32 pm
by JAGagiano
Hi Ben
Many Thanks to you.
Re: Component LCD_ST7789V and PIC18F26k22
Posted: Wed Dec 10, 2025 10:35 am
by JAGagiano
Hi Ben
First test and it compiled correct.
Had my SPI on the wrong port.
Correct the port and it did not compile.
Get the following message.
Copyright (C) 2019 Microchip Technology Inc.
(908) exit status = -1073741819
(908) exit status = 1
Re: Component LCD_ST7789V and PIC18F26k22
Posted: Thu Dec 11, 2025 3:14 pm
by BenR
Hello,
Please can you attach your project file that's doing this and I'll look into it for you.