Yes, I do see the blocks when I turn the contrast up. Does that give any hints as to what is going wrong?
Yes...my typo...which I have fixed.What's this line in your code?shouldn't it be showdigital ?Code:'DEFINE SHOWDITIAL 1'
I knew better and must have had a senior moment....but fixed this.Next .. which port is your LCD connected to ?
If it's on PORTB like your code shows then your TRIS statement is set in the wrong direction.
You havewhich should actually beCode:TRISB =%11111111since you are sending to the LCD so the port should be set for output.Code:TRISB=%00000000
A nice way to remember it is that the number one looks like an i (I) which stands for Input and a zero (0 ) stands for output :-)
Changed it to 1000.Your problems could be a few things .. like a pause 1000 ( 1 second delay) before your code , giving time for the LCD to 'warm up' or initialize and so forth.
After all of above changes it still doesn't display and info.
I will take a close look at your code versus mine and see if I can figure out where I went wrong and get back to you. Thanks for your inputs!Here's my code
Bookmarks