a

Dependencies:   mbed-http

Fork of http-example by sandbox

Revision:
29:5ad8f931e4ff
Parent:
28:9bccd981a393
--- a/source/main-http.cpp	Tue Mar 27 11:13:48 2018 +0200
+++ b/source/main-http.cpp	Tue Mar 27 11:57:33 2018 +0200
@@ -6,8 +6,6 @@
 #include "easy-connect.h"
 #include "http_request.h"
 
-Serial pc(USBTX, USBRX);
-
 void dump_response(HttpResponse* res) {
     printf("Status: %d - %s\n", res->get_status_code(), res->get_status_message().c_str());
 
@@ -19,8 +17,6 @@
 }
 
 int main() {
-    pc.baud(115200);
-
     // Connect to the network (see mbed_app.json for the connectivity method used)
     NetworkInterface* network = easy_connect(true);
     if (!network) {