3663: LCDDCPIN = FCL_DC;
(192) undefined identifier "LCDDCPIN"
Error from XC8
Component LCD_ST7789V and PIC18F26k22
-
JAGagiano
- Posts: 5
- http://meble-kuchenne.info.pl
- Joined: Sun Mar 02, 2025 5:44 am
-
medelec35
- Valued Contributor
- Posts: 2203
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 669 times
- Been thanked: 748 times
Re: Component LCD_ST7789V and PIC18F26k22
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.
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.
Martin
Re: Component LCD_ST7789V and PIC18F26k22
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.
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
Hi Martin
You will see that after compiling the message from XC8.
You will see that after compiling the message from XC8.
- Attachments
-
- LCD test.msg.txt
- (2.7 KiB) Downloaded 8 times
-
- LCD test.fcfx
- (18.27 KiB) Downloaded 10 times
-
BenR
- Matrix Staff
- Posts: 2027
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 537 times
- Been thanked: 721 times
Re: Component LCD_ST7789V and PIC18F26k22
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..
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..
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: Component LCD_ST7789V and PIC18F26k22
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
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
-
BenR
- Matrix Staff
- Posts: 2027
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 537 times
- Been thanked: 721 times
Re: Component LCD_ST7789V and PIC18F26k22
Hello,
Please can you attach your project file that's doing this and I'll look into it for you.
Please can you attach your project file that's doing this and I'll look into it for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel