Quote Originally Posted by phoenix_1 View Post
but can't drive 4x20lcd,how to define ???
data lines are on a0 to a43 port and command are on c0 and c1
phoenix,
Read the PBP manual, specifically the section on how to define the pins to be used for driving an LCD and your project will rise from the ashes.

Another case of RTFM...