Quote Originally Posted by lerameur View Post
Below is a program I have with the book I am reading. I am confused with the command to the lcd like ( INITIALIZE LCD PROCEDURE ):
DISPLAY OFF
ENTRY MODE SET
etc..
I know what they do , but they all send 8 bit to the PORTA. How does it know one is for the display and another for the mode entry ? is it an order. it just seem he is sending byte after byte on the same port.
ken
Check the datasheets for any parallel input LCD, they're usually driven by a Hitachi 44780 compatible controller chip.
The pin on the LCD you are probably looking for is the RS pin. In one state, you are accessing the actual memory displayed on the screen, in the other state, you are accessing the control functionality of the LCD controller.