Hi stargazer

I think you have the defines for the LCD wrong. Have a look at the schematic in the user manual for the LCD. You will see that portb.0 to portb.3 is connected to the HIGH four data...