agnostos
Newbie level 4
avr gsm modem
hello i am a student and i am trying to make a project with avr (mega8515) and gsm modem.
i use codevision and enable the usart transmiter. also i connect RS232 spare with portd in pins 0 and 1. then i write this code
#define CR 0x0D
.
.
main()
..
while(1) {
printf("AT+CMGD=6");
putchar(CR);
break;
}
this command must delete the message in index 6 but doesn't work why???
i can't send any command to gsm why???
if i use the codevision terminal i can see the following command....
what can i do to solve my problem??
i hope to any help because time is pressure me. i have only 2 days to finish my project please help...
hello i am a student and i am trying to make a project with avr (mega8515) and gsm modem.
i use codevision and enable the usart transmiter. also i connect RS232 spare with portd in pins 0 and 1. then i write this code
#define CR 0x0D
.
.
main()
..
while(1) {
printf("AT+CMGD=6");
putchar(CR);
break;
}
this command must delete the message in index 6 but doesn't work why???
i can't send any command to gsm why???
if i use the codevision terminal i can see the following command....
what can i do to solve my problem??
i hope to any help because time is pressure me. i have only 2 days to finish my project please help...