
DHCP Client for WIZ820io(W5200)
Dependencies: EthernetNetIf mbed
Diff: main.cpp
- Revision:
- 0:db4242c89949
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Apr 10 03:38:22 2012 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +#include "MyEthernetNetIf.h" + +#define WIZ820IO + +#ifdef WIZ820IO +MyEthernetNetIf eth; +#else +EthernetNetIf eth; +#endif + +int main() { + printf("setup...\n"); + int r = eth.setup(); + printf("%d\n", r); +}