Stream messages which you type into an internet app straight to the dispBoB!
Dependencies: EthernetNetIf dispBoB mbed
Diff: InternetDispBoB.cpp
- Revision:
- 2:2707a70078ac
- Parent:
- 1:ec03de8ed408
- Child:
- 3:f4115ac66e09
--- a/InternetDispBoB.cpp Thu Jul 07 12:16:01 2011 +0000 +++ b/InternetDispBoB.cpp Thu Jul 07 13:58:31 2011 +0000 @@ -25,7 +25,7 @@ HTTPText txt; //instantiate HTTPStream object while(1){ - HTTPResult r = http.get("http://www.mbed.webatu.com/messageEcho.php", &txt); //load page into buffer + HTTPResult r = http.get("http://mbed.net16.net/v1/messageEcho.php", &txt); //load page into buffer if(r==HTTP_OK){ string str = txt.gets(); //fetch string and store in str