This is my first post, so here it goes. I'm an Electrical Engineer and have many years of experience desiginning digital circuits, but these LCD displays are really confusing. I have a 4x20 display that I actually got working. The problem I'm having is that I can't get it to display a character in the 1st position on the 1st line (address 0x80). It allways displays starting with the 2nd character position.
Some particulars:
I'm using a FTDI Vinculum VNC2 Microcontroller and programming in C.
The display is the standard HD44780U controller.
I have it configured for 8-bit data bus.
The interface is the standard 16-pin interface.
I've attached my LCD_Control module source code and header file. The LCD_Init() is called from the main loop in another file. All this program does is initialize the LCD and display a title message.
Thanks for any help in advance.
Terry
Some particulars:
I'm using a FTDI Vinculum VNC2 Microcontroller and programming in C.
The display is the standard HD44780U controller.
I have it configured for 8-bit data bus.
The interface is the standard 16-pin interface.
I've attached my LCD_Control module source code and header file. The LCD_Init() is called from the main loop in another file. All this program does is initialize the LCD and display a title message.
Thanks for any help in advance.
Terry
Attachments
-
3.6 KB Views: 52
-
1.9 KB Views: 23