DHCP Client for WIZ820io(W5200)

Dependencies:   EthernetNetIf mbed

main.cpp

Committer:
va009039
Date:
2012-04-10
Revision:
0:db4242c89949

File content as of revision 0:db4242c89949:

#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);
}