Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
Diff: serialModem.cpp
- Revision:
- 21:b9315cdd9275
- Parent:
- 7:ae9c47f62946
- Child:
- 30:8a06a85d8807
--- a/serialModem.cpp Mon Jan 29 14:22:38 2018 +0000
+++ b/serialModem.cpp Tue Feb 06 16:33:51 2018 +0000
@@ -23,7 +23,7 @@
void serialModem::configBaud(){
uint32_t baud = 9600;
modem.baud(baud);
- while((!modemCom::sendToModem("ATE0\r\n",1,&modemCom::status.OK,NULL,50,1,1))&&(baud <= 230400)){
+ while((!modemCom::sendToModem("ATE0\r\n",1,&modemCom::status.OK,NULL,30,1,1))&&(baud <= 230400)){
baud += 9600;
pc.printf("\r\n Tentando %lu.\r\n",baud);
modem.baud(baud);