I'v just built a new LCD circuit and loaded a test program to check out the basics. What is supposed to happen is the leftmost character should have the cursor blinking and all blanks. But what I get is the leftmost cursor ON steady and all 5x7 dots above it blinking, all other positions blank. I know the program is good because I've used it before and it's pasted from the same file as before. I have carefully examined all the circuit conections and can't see anything wrong. It is wired as 8 bit (portb of 16F84a).
Anybody give me a clue as to what to look for?
Thanks Aaron
Try sending some different commands to the "Display on/off" control register. They usually work like this:
00001110 - Display on, cursor on, no blink
00001111 - Display on, cursor on, blink
00001100 - Display on, cursor off, no blink
00001000 - Display off, cursor off, no blink
Yes, the whole box blinks and it doesn't look like I can change it. And yes "duffy" I did try some different commands and they do work. Also the code I downloaded was for a 2 line display and I have a single line so once I changed 0x38 to 30 and 0x28 to 20, everything seems to be OK.
Thanks for the replies. Aaron