Home automation using android | Microcontroller › 8051 › Home automation using android This topic has 1 reply, 2 voices, and was last updated 10 years, 1 month ago by SHAH DISHANT H.. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts March 11, 2014 at 2:08 pm #2942 mrutyunjay paridaParticipant This is the code but it wasn’t working perfectly. could anyone help me to correct it #include<at89x52.h> #include<intrins.h> sbit LAMP1=P2^0; sbit LAMP2=P2^1; sbit LAMP3=P2^2; sbit LAMP4=P2^3; unsigned char ch; void init_Serial() { TMOD=0x10; TH1=0xFA; SCON=0x50; TR0=1; } void Rx_Char() { while(RI=0); ch=SBUF; RI=1; } void Tx_String(unsigned char *str) { while(*str!=’