Ni yanfang
Member level 3
- Joined
- Jul 30, 2013
- Messages
- 59
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 432
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();
}