teste de publish
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
Diff: serialModem.cpp
- Revision:
- 30:8a06a85d8807
- Parent:
- 21:b9315cdd9275
- Child:
- 34:348991c54ff3
--- a/serialModem.cpp Thu May 24 00:42:23 2018 +0000 +++ b/serialModem.cpp Fri May 25 23:46:10 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,30,1,1))&&(baud <= 230400)){ + while((!modemCom::sendToModem("ATE0\r\n",1,&modemCom::status.OK,NULL,100,2,1))&&(baud <= 230400)){ baud += 9600; pc.printf("\r\n Tentando %lu.\r\n",baud); modem.baud(baud);