programma di collegamento a AP wifi. Risolto il bug della scheda su AP con WPA2
Fork of mbed-os-example-wifi by
Revision 60:718332a272a7, committed 2018-08-06
- Comitter:
- fabio_gatti
- Date:
- Mon Aug 06 18:44:34 2018 +0200
- Parent:
- 59:c9fc405867b6
- Commit message:
- Aggiunto settaggio esplicito velocita' porta seriale
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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) {