Jeffin Jacob Philip
Newbie level 2
is this code correct . . .
its not working
is there anyone to help me....
its not working
is there anyone to help me....
Code:
//crystal 20Mhz
void main()
{
TRISD=0;
PORTD=0xff;
Delay_ms(1000);
PORTD=0;
UART1_init(9600);
Delay_ms(10);
UART1_Write_Text("AT\r\n");
Delay_ms(2000);
UART1_Write_Text("AT+CMGF=1\r\n");
Delay_ms(2000);
UART1_Write_Text("AT+CMGS=\"+919895595189\"\r\n");
Delay_ms(1000);
UART1_Write_Text("OK...Its working");
UART1_Write(0x1A);
Delay_ms(2000);
Delay_ms(2000);
PORTD=0xff;
Delay_ms(1000);
PORTD=0;
}
Last edited by a moderator: