Ni yanfang
Member level 3
hi I am to write about serial communication using mcu and gsm modem to send sms to mobile. but i face some problem. can anyone give suggestion? did i need to set sbuf ??? I am wirting AT command using c language.
while(1){
if (ir_out==0){
SBUF = "A";
waitTx();
SBUF = "T";
waitTx();
}
while(1){
if (ir_out==0){
SBUF = "A";
waitTx();
SBUF = "T";
waitTx();
}