Team 6
Dependencies: HTTPClient PowerControl SNICInterface_mod mbed-rtos mbed
Fork of HTTPClient_WiFi_HelloWorld by
Diff: main.cpp
- Revision:
- 5:3dbedd084f79
- Parent:
- 3:837766adc429
- Child:
- 6:1273e99a6058
--- 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];