Simple HTTP example

Dependencies:   LWIPInterface NetworkSocketAPI events funcptr mbed-rtos mbed

Revision:
1:ca2041d3a4a6
Parent:
0:9dd004b6a8b7
--- a/main.cpp	Thu Apr 21 18:36:07 2016 -0500
+++ b/main.cpp	Fri Apr 22 03:21:03 2016 -0500
@@ -12,8 +12,7 @@
 unsigned count_blue = 0;
 
 LWIPInterface lwip;
-EventQueue queue;
-SimpleHTTP http(&queue, &lwip);
+SimpleHTTP http(&lwip);
 
 #define IMAGE_URL (                                     \
     "https://developer.mbed.org/media/cache/platforms/" \
@@ -112,7 +111,5 @@
     http.start();
 
     printf("Hi! I'm at %s\r\n", lwip.get_ip_address());
-
-    queue.dispatch();
 }