sfs
Dependencies: EthernetInterface mbed-rtos mbed
Revision 5:83fa43f0ea2d, committed 2016-12-09
- Comitter:
- grzemich
- Date:
- Fri Dec 09 07:00:31 2016 +0000
- Parent:
- 4:39d4e34e26ae
- Commit message:
- gvjs
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Dec 09 06:52:52 2016 +0000 +++ b/main.cpp Fri Dec 09 07:00:31 2016 +0000 @@ -4,7 +4,7 @@ int main() { EthernetInterface eth; - eth.init(MBED_DEV_IP, MBED_DEV_MASK, MBED_DEV_GW); + eth.init(); eth.connect(); printf("IP Address is %s\n", eth.getIPAddress()); eth.disconnect();