Hello. I copied "LCD_4bit.c" and "LCD.h" files from Keil examples folder to my project folder and add it to my project. Then I changed Pins definition in "LCD_4bit.c" according to my project board LCD pins(LPC 2378). (I don't think that The problem is here.) Then I could successfully Build it, but when I download it to my project board,there is no signs that LCD works. However when I compile "LCD_4bit.c" in IAR environment ,the produced "hex file" works well on my project board. Thanks for your help.
oh it looked like you were connecting them.
Always yo're freind.
Zeusti.
<SOB>and we call ourselves engineers</SOB>
I did only say one of the first things to check.
In fact, I think the first check that I, personally, would do would be with a 'scope on the interface pins to see if anything was happening at all.
If that showed that something was happening, then I'd look a bit closer at whether it was the right things - including the right timing.