Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HTTPClient WIZ820ioInterface mbed
Fork of HTTPClient_HelloWorld by
Revision 4:ca8e9930ba4e, committed 2013-12-01
- Comitter:
- ban4jp
- Date:
- Sun Dec 01 18:54:44 2013 +0000
- Parent:
- 3:242eb9cf2b1e
- Child:
- 6:1aba7b616629
- Commit message:
- Add WIZ820io support
Changed in this revision
--- a/EthernetInterface.lib Sun Dec 01 16:18:57 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_official/code/EthernetInterface/#cba86db5ab96
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WIZ820ioInterface.lib Sun Dec 01 18:54:44 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/ban4jp/code/WIZ820ioInterface/#c466db1cd20b
--- a/main.cpp Sun Dec 01 16:18:57 2013 +0000 +++ b/main.cpp Sun Dec 01 18:54:44 2013 +0000 @@ -1,8 +1,19 @@ #include "mbed.h" -#include "EthernetInterface.h" +//#include "EthernetInterface.h" +#include "WIZ820ioInterface.h" #include "HTTPClient.h" -EthernetInterface eth; +//EthernetInterface eth; +#if defined(TARGET_LPC1114) +SPI spi(dp2, dp1, dp6); // mosi, miso, sclk +WIZ820ioInterface eth(&spi, dp25, dp26); // spi, cs, reset + +#elif defined(TARGET_LPC1768) +SPI spi(p5, p6, p7); // mosi, miso, sclk +WIZ820ioInterface eth(&spi, p25, p26); // spi, cs, reset + +#endif + HTTPClient http; char str[512];
--- a/mbed-rtos.lib Sun Dec 01 16:18:57 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_official/code/mbed-rtos/#29007aef10a4
