ankiterect
Newbie level 4
hello please find the error and please help me
Code:
void main()
{
UART1_Init(9600);
UART1_Write_Text("AT");
DELAY_MS(2000);
UART1_Write(0x0D);
DELAY_MS(2000);
UART1_Write_Text("AT+CMGF=1");
DELAY_MS(1000);
UART1_Write(0x0D);
DELAY_MS(2000);
UART1_Write_Text("AT+CMGW=7877709590");
DELAY_MS(2000);
UART1_Write(0x0D);
DELAY_MS(2000);
UART1_Write_Text("Hiiii");
DELAY_MS(2000);
UART1_Write(0x0D);
DELAY_MS(2000);
UART1_Write(0x26);
DELAY_MS(2000);
UART1_Write(0x0D);
DELAY_MS(2000);
UART1_Write_Text("AT+CMSS=1");
DELAY_MS(1000);
UART1_Write(0x0D);
DELAY_MS(2000);
}