WebServer for WIZwiki-W7500 Network Information LED controller Analog value Monitoring image load
Dependencies: SDFileSystem WIZnetInterface httpServer_with_Ethernt mbed
Fork of httpServer-WIZwiki-W7500 by
This is HTTP server example program for WIZwiki-W7500.
In this example, you can get Network Information and control LED and... Monitoring Analog value!!
Sample html pages and image are needed. So download samples.
- index.html
- net_info.html
- dio_page.html
- ain_page.html
- wiznet_logo.png
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.
Revision 24:64dfb6c4994b, committed 2017-04-18
- Comitter:
- joon874
- Date:
- Tue Apr 18 03:40:04 2017 +0000
- Parent:
- 23:17bcb0c6105c
- Commit message:
- code update
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 17bcb0c6105c -r 64dfb6c4994b main.cpp --- a/main.cpp Thu Feb 18 00:36:57 2016 +0000 +++ b/main.cpp Tue Apr 18 03:40:04 2017 +0000 @@ -11,16 +11,20 @@ #endif #if defined(TARGET_WIZWIKI_W7500)||defined(TARGET_WIZWIKI_W7500P) - uint8_t mac_addr[6] = {0x00, 0x08, 0xDC, 0x00, 0x01, 0x02}; + uint8_t mac_addr[6] = {0x00, 0x08, 0xDC, 0xFF, 0xFF, 0x02}; #endif +// Declare Ethernet Class EthernetInterface eth; + +// Declare HTTP Server Class HTTPServer svr; + +// Set Server Network char ip_addr[] = "192.168.240.111"; char subnet_mask[] = "255.255.255.0"; char gateway_addr[] = "192.168.240.1"; -//#define DHCP //If uncomment, W7500 runs DHCP int main() {