Mohammed Fy
Newbie level 2
Hello everyone, i'm trying to send data from a micro-controller AT89C52 to Max232 which is connected to a 3G modem via VSPE
My problem is when i catch data from the output its not the same, here is what is shown to me in the picture attached.
Also, the code i'm using :
I need someone help please.
My problem is when i catch data from the output its not the same, here is what is shown to me in the picture attached.
Also, the code i'm using :
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 serial_init(); delayms(5); if(sw == 1) { serial_send_string("AT+CSCA?\r"); serial_send_string("AT+CMGF=1\r"); delayms(1); serial_send_string("AT+CMGS="+212"\r"); delayms(1); serial_send_string("MSG\r"); serial_send_string("0x1A\r"); delayms(5); }
I need someone help please.
Attachments
Last edited by a moderator: