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: SDFileSystem WIZnetInterface httpServer mbed
Fork of Internet-Piano_WIZwiki-W7500 by
Diff: main.cpp
- Revision:
- 16:495d07b9cff8
- Parent:
- 15:0091888ada99
diff -r 0091888ada99 -r 495d07b9cff8 main.cpp
--- a/main.cpp Mon Jun 29 23:06:22 2015 +0000
+++ b/main.cpp Fri Jul 03 07:33:17 2015 +0000
@@ -4,6 +4,8 @@
#include "HTTPServer.h"
#include "SDFileSystem.h"
+//#define DHCP
+
#ifdef TARGET_WIZWIKI_W7500
SDFileSystem local(SD_MOSI, SD_MISO, SD_CLK, SD_SEL, "local");//PB_3, PB_2, PB_1, PB_0
#else
@@ -17,9 +19,9 @@
EthernetInterface eth;
HTTPServer svr;
-char ip_addr[] = "192.168.1.111";
+char ip_addr[] = "192.168.240.111";
char subnet_mask[] = "255.255.255.0";
-char gateway_addr[] = "192.168.1.1";
+char gateway_addr[] = "192.168.240.1";
//#define DHCP //If uncomment, W7500 runs DHCP
