Show us the whole code. Might be something in the defines.
Show us the whole code. Might be something in the defines.
Dave
Always wear safety glasses while programming.
I found a major problem! Pin 5 of the PIC was going to +5v not ground! [/sheepish]
Now the display works, ish, but I am only getting the first 8 chars displayed...?
![]()
And don't forget this lcdisplay is a 2x8 and not a 1x16 line display.
So tell this in the beginning of your program when defining everything.
I hate to write this but Read The Fine Manual. Sorry but you really have to. This PIC has analog comparators that need to be set prior at the top of your program. Something like:
cmcon = 7 ' to disable portA comparators
vrcon = 0 'disable reference voltage output at porta.2
Also don't forget to use some DEFINE's (in capital letters!) to tell PBP what LCD you have and where it is connected (see at LCDout on page 95 of 3.04 manual version).
Ioannis
Bookmarks