Example program for the Ethernet Shield V2.0 by SeeedStudio. The example gets an IP address via DHCP and then requests http://mbed.org/media/uploads/mbed_official/hello.txt
Dependencies: WIZ820ioInterface mbed
Diff: main.cpp
- Revision:
- 2:3b6c391a682d
- Parent:
- 1:bb040724d21b
- Child:
- 3:2d0986d5542e
--- a/main.cpp Fri Apr 11 13:13:51 2014 +0000 +++ b/main.cpp Fri Apr 11 13:25:01 2014 +0000 @@ -2,6 +2,14 @@ #include "WIZ820ioInterface.h" Serial pc(USBTX, USBRX); + +/** + * D11 - MOSI pin + * D12 - MISO pin + * D13 - SCK pin + * D10 - SEL pin + * NC - Reset pin + */ WIZ820ioInterface eth(D11, D12, D13, D10, NC); int main()