can you help me if you want
i make a program to send sms via SIM900A module GSM with 16F877A but i cant receive the sms
can you tell me what wrong
Code: Select all
void main() {
UART1_init(9615);
delay_ms(5000);
while(1){
delay_ms(3000);
UART1_Write_Text("AT+CMGS=");
delay_ms(1000);
UART1_Write(0x22);
delay_ms(2000);
UART1_Write_Text("+212617026509");
delay_ms(2000);
UART1_Write(0x22);
UART1_Write(0x0D);
delay_ms(2000);
UART1_Write_Text("ATTENTION Il y a quelqu un dans la zone interdite");
UART1_Write(0x0D);
delay_ms(2000);
UART1_Write(26);
delay_ms(2000);
UART1_Write(0x0D);
delay_ms(2000); }
}