lpc17xx.h for LCD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

lpc17xx.h for LCD

1,232件の閲覧回数
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

.....

ラベル(2)
0 件の賞賛
返信
1 返信

1,000件の閲覧回数
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 件の賞賛
返信