teste de publish

Dependencies:   DS1820 HighSpeedAnalogIn devices mbed

Revision:
21:b9315cdd9275
Parent:
18:1eefda1f7736
Child:
22:cb832a9bc704
--- a/serialPC.cpp	Mon Jan 29 14:22:38 2018 +0000
+++ b/serialPC.cpp	Tue Feb 06 16:33:51 2018 +0000
@@ -120,16 +120,20 @@
     if(strstr(bufIn,"enviaArquivoDevices")){
         arquivoEnvioPointer = &sdCard::devices;
         return;
-    }    
+    }        
     
-    
+    if(strstr(bufIn,"debug")){
+        if(debug){debug = false;}
+        else{debug = true;}
+        return;
+    }    
     
     if(strstr(bufIn,"excluiArquivo:config.bin")!=NULL){        
         sdCard::excluiArquivo(&sdCard::config);
         return;
-    } 
+    }
     
-        if(strstr(bufIn,"excluiArquivo:currentBank.txt")!=NULL){        
+    if(strstr(bufIn,"excluiArquivo:currentBank.txt")!=NULL){        
         sdCard::excluiArquivo(&sdCard::currentBankFile);
         return;
     }