![](/media/cache/profiles/fa42af438e58b799189dd26386f5870f.jpg.50x50_q85.jpg)
Simple HTTP example
Dependencies: LWIPInterface NetworkSocketAPI events funcptr mbed-rtos mbed
Diff: main.cpp
- 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(); }