Program code for the project
Dependencies: 4DGL-uLCD-SE SDAlarm mbed SDFileSystem SoundAPI mbed-rtos
Revision 3:01d4b03ade7c, committed 2017-12-13
- Comitter:
- blazar
- Date:
- Wed Dec 13 02:01:44 2017 +0000
- Parent:
- 2:15ba42aea6c7
- Commit message:
- commit;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 15ba42aea6c7 -r 01d4b03ade7c main.cpp --- a/main.cpp Wed Dec 13 00:57:55 2017 +0000 +++ b/main.cpp Wed Dec 13 02:01:44 2017 +0000 @@ -280,7 +280,6 @@ // set CWMODE to 1=Station,2=AP,3=BOTH, default mode 1 (Station) - pc.printf("\n---------- Setting Mode ----------\r\n"); strcpy(snd, "wifi.setmode(wifi.STATION)\r\n"); SendCMD(); timeout=4; @@ -301,7 +300,6 @@ wait(1); - pc.printf("\n---------- Get IP's ----------\r\n"); strcpy(snd, "print(wifi.sta.getip())\r\n"); SendCMD(); timeout=3; @@ -310,7 +308,7 @@ wait(1); - pc.printf("\n---------- Get Connection Status ----------\r\n"); + strcpy(snd, "print(wifi.sta.status())\r\n"); SendCMD(); timeout=5;