teste de publish

Dependencies:   DS1820 HighSpeedAnalogIn devices mbed

Revision:
2:55b7b466e742
Parent:
1:0e0967c88590
Child:
4:13ff9c81dc10
--- a/serialPC.cpp	Thu Mar 30 19:54:09 2017 +0000
+++ b/serialPC.cpp	Wed May 10 12:57:13 2017 +0000
@@ -62,7 +62,16 @@
     if(strstr(bufIn,"exibeArquivo:armazenamento.txt")!=NULL){        
         sdCard::exibeArquivo(&sdCard::armazenamento);
         return;
+    }    
+    
+    if(strstr(bufIn,"resetDigitais()")!=NULL){        
+        SD_OE_R = 0;
+        osDelay(50);
+        SD_OE_R = 1;   
+        return;
     }
+    
+    
     if(strstr(bufIn,"testaTudoDevices()")!=NULL){        
         testaTudoDevices();
         return;
@@ -84,6 +93,11 @@
         return;
     }
     
+    if(strstr(bufIn,"enviaStatusAoServer")){
+        enviaStatusAoServer = true;
+        return;
+    }
+    
     if(strstr(bufIn,"enviaArquivoDevices")){
         arquivoEnvioPointer = &sdCard::devices;
         return;