Internet Piano for WIZwiki-W7500
Dependencies: SDFileSystem WIZnetInterface httpServer mbed
Fork of httpServer-WIZwiki-W7500 by
This is HTTP server example program for WIZwiki-W7500.
In this example, only you can control Internet Piano.
Sample html pages and image are needed. So download samples.
•index.html
/media/uploads/justinkim/index.zip
This example use SD card. So copy html and image files to SD card. If not WIZwiki-W7500 platform, copy html and image files to local filesystem.
Diff: main.cpp
- Revision:
- 16:495d07b9cff8
- Parent:
- 15:0091888ada99
- Child:
- 19:75dfa97afa2b
--- 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