Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: WIZnetInterface WIZwiki-W7500-lecture mbed
Fork of WIZwiki-W7500-lecture2-udp by
Revision 5:5ac02e0a1296, committed 2016-02-01
- Comitter:
- bangbh
- Date:
- Mon Feb 01 23:28:15 2016 +0000
- Parent:
- 4:e802635c137f
- Commit message:
- For lecture DNS
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Feb 01 03:38:51 2016 +0000
+++ b/main.cpp Mon Feb 01 23:28:15 2016 +0000
@@ -6,7 +6,7 @@
EthernetInterface eth;
- uint8_t mac_addr[6] = {0x00, 0x08, 0xDC, 0x00, 0x01, 0x02};
+ uint8_t mac_addr[6] = {0x00, 0x08, 0xDC, 0xFF, 0xFF, 0xFF};
eth.init(mac_addr, "222.98.173.239", "255.255.255.192", "222.98.173.254"); // USE Static IP
//eth.init(mac_addr); //Use DHCP
eth.connect();
