Hello, I am trying to interface a 16x2 LCD with LPC2148..i have changed the code used for lpc23xx ( Blinky example code). but it is not working..only cursor is blinking on lcd..nothing is printing...I am using the LCD_4bit.c in that i have changed the ports only..and in main program i m initializing the lcd and printing sm data thats it...but nothing happening except blinking cursor...Please help me
.... makes the old adage come to mind "if you can not write the code yourself 'finding' code is worthless.
anyhow my guess is that what you need to change will be a delay routine
Erik
look for the delay rootine add a _nop()
of course should have been
look for the delay routine add a _nop()
Actually, burp master, you meant
__nop() ;
(note the extra "_"). Details are rather important, you know.
just to verify that a change in the delay routine will do it, add 10 _nop()'s, if so, you can later calculate how many are needed.
If I suspect a delay and there is no reason to limit it, I always makes it huge for debugging purpses.
My name is Burp, Cactus Birp!
My name is Burp, Cactus Burp!