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
.....
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.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------