Joke Collection Website - Public benefit messages - Single chip microcomputer controls GSM module to send short messages, programs

Single chip microcomputer controls GSM module to send short messages, programs

This is a function that sends a byte.

{

SBUF = sdata

while(TI = = 0);

TI = 0;

}

send(" AT+CMGF = 0 \ r \ n ");

send(" AT+CMGS = 25 \ r \ n ");

A function that sends a byte, where you use it to send a string?

-

Don't rush to send the things sent by the single chip microcomputer to the mobile phone module.

Send it to the serial assistant of PC first, and see what you send.