AnsweredAssumed Answered

lpc17xx.h for LCD

Question asked by Matthias Landsberger on Feb 25, 2017
Latest reply on Feb 28, 2017 by Kerry Zhou



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.




/* 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