Microcontroller › 8051 › plz tell the problem in this lcd program.it is not showing the output › you have taken port1
June 20, 2013 at 2:44 am #9994
you have taken port1 for passing commands
and port2 for data but for lcd we consider 8/4 data pins …then how can you make use same 8 pins for port1 and for port2..so consider any one port.
so take port2/port1.use command 0x01 to clear the display before 0x80 and b/w every command in intializing lcd use delay;