lpc17xx.h for LCD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc17xx.h for LCD

668 Views
matthiaslandsbe
Contributor I

Hi

I'm using LPCXpresso 1769 board together with LPCXpresso v8.2.2_650. I'd like to install a LCD example which includes lpc17xx.h. When building the code I always get the following error message: "lpc17xx.h: No such file or directory". All my attempts to add that file have failed so far. How can I do it right? Any help would be much appreciated.

#include<lpc17xx.h>

/* Configure the data bus and Control bus as per the hardware connection */
#define LcdDataBusPort      LPC_GPIO2->FIOPIN
#define LcdControlBusPort   LPC_GPIO3->FIOPIN

#define LcdDataBusDirnReg   LPC_GPIO2->FIODIR
#define LcdCtrlBusDirnReg   LPC_GPIO3->FIODIR

#define LCD_D4     6
#define LCD_D5     7
#define LCD_D6     8
#define LCD_D7     9

#define LCD_RS     0
#define LCD_RW     1
#define LCD_EN     2

.....

Labels (2)
0 Kudos
1 Reply

436 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Matthias Landsberger,

   Did you add the lpc17xx.h file path in your IDE options?

   Please check your IDE head file, add the head file road path, then try again.

pastedImage_1.png

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos