kunal Profile Topics Started Replies Created Engagements Search replies: Forum Replies Created Viewing 1 post (of 1 total) Author Posts March 5, 2013 at 11:05 pm in reply to: How to interface 4bit mode LCD to 8051 Micro controller #9255 kunalParticipant #include<reg51.h> #define port P3 //14,13,12,11 pins of lcd and 1.7,1.6,1.5,1.4 of controller #define lcdport P1 sbit rs = port^0; sbit rw = port^1; sbit en = port^2; void lcd_ini(); void dis_cmd(unsigned char); void dis_data(unsigned char); void lcdcmd(unsigned char); void lcddata(unsigned char); void Delay_ms(unsigned int msec) ; void main() { unsigned char data0[]=”rocks”; unsigned int i=0; lcdport=0; lcd_ini(); while(data0!=’