teste de publish
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
Diff: serialPC.cpp
- Revision:
- 9:cf406384efd9
- Parent:
- 7:ae9c47f62946
- Child:
- 10:263c093f8977
--- a/serialPC.cpp Tue Jul 18 20:00:43 2017 +0000 +++ b/serialPC.cpp Wed Aug 09 20:38:10 2017 +0000 @@ -68,11 +68,17 @@ return; } + if(strstr(bufIn,"exibeArquivo:armazenamento.txt")!=NULL){ sdCard::exibeArquivo(&sdCard::armazenamento); return; } + if(strstr(bufIn,"exibeArquivo:config.bin")!=NULL){ + sdCard::exibeArquivo(&sdCard::config); + return; + } + if(strstr(bufIn,"resetDigitais()")!=NULL){ SD_OE_R = 0; osDelay(50); @@ -112,6 +118,11 @@ if(strstr(bufIn,"excluiArquivo:armazenamento.txt")!=NULL){ sdCard::excluiArquivo(&sdCard::armazenamento); return; + } + + if(strstr(bufIn,"excluiArquivo:config.bin")!=NULL){ + sdCard::excluiArquivo(&sdCard::config); + return; } if(strstr(bufIn,"excluiArquivo:envio.txt")!=NULL){