Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HTTPClient PowerControl SNICInterface mbed-rtos mbed-src
Fork of HTTPClient_WiFi_HelloWorld by
Diff: main.cpp
- Revision:
- 5:3dbedd084f79
- Parent:
- 3:837766adc429
- Child:
- 7:c38782801998
diff -r 1cb3225666d2 -r 3dbedd084f79 main.cpp --- a/main.cpp Fri Jan 23 10:02:18 2015 +0000 +++ b/main.cpp Sat Jan 31 13:49:47 2015 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" + #include "SNIC_WifiInterface.h" #include "HTTPClient.h" - #if defined(TARGET_LPC1768) #include "PowerControl/EthernetPowerControl.h" #endif @@ -12,6 +12,10 @@ C_SNIC_WifiInterface wifi( p9, p10, NC, NC, p30 ); +#if defined(_DEBUG) +Serial pc(USBTX, USBRX); +#endif + HTTPClient http; char str[512];
