Teste Flash

Dependencies:   pulga-lorawan-drv Si1133 BME280

Revision:
65:4090220e19d2
Parent:
63:4ec1808fb547
Child:
67:17addc7bf8c2
--- a/gps.cpp	Tue Mar 02 16:57:31 2021 +0000
+++ b/gps.cpp	Tue Mar 02 18:22:16 2021 +0000
@@ -21,7 +21,7 @@
         wait_ms(5);
         cont++;
         if (cont > 100){
-            printf("\n no response \n"); 
+            pc.printf("\n no response \n"); 
             return;
             }
     }
@@ -34,7 +34,7 @@
             }
             else {
               //lora_send_packet (packet , (uint8_t) packet_size+1); // manda atraves do lora a mensagem de boot do gps
-              printf("Boot msg: %s \n", packet);
+              pc.printf("Boot msg: %s \n", packet);
               return;
             } 
         
@@ -585,7 +585,7 @@
       0x00, 0x00 //checksums A & B
     };
     uint8_t pos_ck = sizeof(packet_cfg_gnss)-2;
-    printf("gnss config finish");
+    pc.printf("gnss config finish");
     uint8_t ubxi;
     //calcula checksum
     for (ubxi=2; ubxi<pos_ck ; ubxi++) {