PingPong
Dependencies: EthernetInterface_pm mbed-rtos mbed
Diff: rede.h
- Revision:
- 0:c8f056a185d0
diff -r 000000000000 -r c8f056a185d0 rede.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rede.h Thu Mar 27 17:39:23 2014 +0000 @@ -0,0 +1,9 @@ +extern EthernetInterface eth; + +void InitializeEthernetLink() +{ + eth.init(MEUIP,"255.255.255.0","192.168.1.5"); + + eth.connect(); + printf("IP Address is %s\n", eth.getIPAddress()); +} \ No newline at end of file