teste de publish
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
Diff: modem.cpp
- Revision:
- 6:d4ebbaaba295
- Parent:
- 5:7801f913384e
- Child:
- 7:ae9c47f62946
--- a/modem.cpp Wed Jun 07 19:38:31 2017 +0000 +++ b/modem.cpp Thu Jun 15 12:50:58 2017 +0000 @@ -13,7 +13,7 @@ bool mudaRede = false; void modemCom::atendeSRING(uint8_t conId){ - pc.printf("Atendendo a conexao entrante.\n"); + //pc.printf("Atendendo a conexao entrante.\n"); modemCom::status.socketEntranteAtivo=true; modemCom::status.timeOut = 30; modemCom::timeOutModem = 50; @@ -566,7 +566,8 @@ printf("Requisicao enviada!\n"); } } - IrDetect.stop(); + IrDetect.stop(); + encontrado = 1; led2=0; }