Hello all, may today is better than yesterday,
OK, I found sketch code: Serial.print("\r"); at site:
What is the meaning of the code: Serial.print("\r");
I'm waiting...
Thanks for answer... : )
Hello all, may today is better than yesterday,
OK, I found sketch code: Serial.print("\r"); at site:
What is the meaning of the code: Serial.print("\r");
I'm waiting...
Thanks for answer... : )
Carriage-return, a bit like '\n' which is new-line or line-feed.
What is the meaning of the code: Serial.print("\r");
It's the first half of a Serial.println(), which sends a carriage return and a line feed, so could be expressed as Serial.print("\r\n");
Just a clarification to @Pylon message. Depends on which system. Windows/Unix/Mac.
/r on unix and mac I think is ignored.
Depends on which system. Windows/Unix/Mac.
Serial.println doesn't know or care about Windows/Unix/Mac.
It sends CR then LF.
size_t Print::println(void)
{
size_t n = print('\r');
n += print('\n');
return n;
}
ok thanks to all, please help to at:
http://forum.arduino.cc/index.php?topic=175254.0
(how sketch to receive sms with using gprs shield v2.0? )
Ridho:
ok thanks to all, please help to at:how sketch to receive sms with using gprs shield v2.0? - Project Guidance - Arduino Forum
(how sketch to receive sms with using gprs shield v2.0? )
You posted your question twice. You should remove one of them if you want any help.