Stream messages which you type into an internet app straight to the dispBoB!
Dependencies: EthernetNetIf dispBoB mbed
Revision 2:2707a70078ac, committed 2011-07-07
- Comitter:
- d_worrall
- Date:
- Thu Jul 07 13:58:31 2011 +0000
- Parent:
- 1:ec03de8ed408
- Child:
- 3:f4115ac66e09
- Commit message:
- version2
Changed in this revision
InternetDispBoB.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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