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: EthernetInterface FATFileSystem GR-PEACH_video GraphicsFramework HttpServer_snapshot R_BSP mbed-rpc mbed-rtos mbed
Diff: main.cpp
- Revision:
- 8:3711d702305e
- Parent:
- 7:c45ecff1b44d
- Child:
- 9:2e3ccd27b4f9
--- a/main.cpp Thu Dec 03 08:10:53 2015 +0000 +++ b/main.cpp Tue Dec 15 08:11:36 2015 +0000 @@ -338,8 +338,8 @@ RPCFunction rpcSetI2C(SetI2CfromWeb, "SetI2CfromWeb"); printf("EthernetInterface Setting up...\r\n"); - if (eth.init() != 0) { //for DHCP Server -// if (eth.init("192.168.0.2","255.255.255.0","192.168.0.3") != 0) { //for Static IP Address (IPAddress, NetMasks, Gateway) +// if (eth.init() != 0) { //for DHCP Server + if (eth.init("192.168.0.2","255.255.255.0","192.168.0.3") != 0) { //for Static IP Address (IPAddress, NetMasks, Gateway) printf("EthernetInterface Initialize Error \r\n"); return -1; }