Seems we sent our posts in the same time!


SO you are saying that i can connect to the lower 4 bits as long as i keep the "defines" in the program?

And in case i will use from D4 to D7 i should change the "defines".
So what to change in this part if so?

"

Define LCD_DREG PORTA ' Port for LCD Data
Define LCD_DBIT 0 ' Use lower 4 bits of Port
Define LCD_RSREG PORTA ' Port for RegisterSelect (RS) bit
Define LCD_RSBIT 6 ' Port Pin for RS bit
Define LCD_EREG PORTA ' Port for Enable (E) bit
Define LCD_EBIT 7 ' Port Pin for E bit
Define LCB_BITS 4 ' Using 4-bit bus
Define LCD_LINES 2 ' Using 2 line Display
Define LCD_COMMANDUS 2000 ' Command Delay (uS)
Define LCD_DATAUS 50 ' Data Delay (uS)

"

i'll check this this thread when i arrive to my Lab.

By the way,
Don't you think people that this thread reached the highest score of visits?! hehe.

Let's reach the highest possible number! :-)