programma di collegamento a AP wifi. Risolto il bug della scheda su AP con WPA2

Fork of mbed-os-example-wifi by ST

Revision:
60:718332a272a7
Parent:
58:8d4bde75ebb9
diff -r c9fc405867b6 -r 718332a272a7 main.cpp
--- a/main.cpp	Thu Jul 19 23:44:01 2018 +0000
+++ b/main.cpp	Mon Aug 06 18:44:34 2018 +0200
@@ -123,11 +123,15 @@
     socket.close();
 }
 
+Serial pc(USBTX, USBRX);
+
 int main()
 {
     int count = 0;
 
-    printf("WiFi example\n\n");
+    pc.baud(115200); // settagggio espliciti porta seriale
+	
+	printf("WiFi example\n\n");
 
     count = scan_demo(&wifi);
     if (count == 0) {