template of http server test program

Dependencies:   C12832_lcd EthernetNetIf HTTPServer mbed

Files at this revision

API Documentation at this revision

Comitter:
khayakawa
Date:
Thu Jul 18 14:30:46 2013 +0000
Commit message:
template of http server test program

Changed in this revision

C12832_lcd.lib Show annotated file Show diff for this revision Revisions of this file
EthernetNetIf.lib Show annotated file Show diff for this revision Revisions of this file
HTTPServer.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/C12832_lcd.lib	Thu Jul 18 14:30:46 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/dreschpe/code/C12832_lcd/#468cdccff7af
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/EthernetNetIf.lib	Thu Jul 18 14:30:46 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/donatien/code/EthernetNetIf/#bc7df6da7589
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/HTTPServer.lib	Thu Jul 18 14:30:46 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/donatien/code/HTTPServer/#d753966e4d97
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Jul 18 14:30:46 2013 +0000
@@ -0,0 +1,35 @@
+#include "mbed.h"
+#include "EthernetNetIf.h"
+#include "HTTPServer.h"
+#include "C12832_lcd.h"
+
+C12832_LCD lcd;
+ 
+DigitalOut led1(LED1);
+DigitalOut led2(LED2);
+DigitalOut led3(LED3);
+DigitalOut led4(LED4);
+ 
+ 
+
+/*
+ * Use DHCP
+ */
+//        EthernetNetIf ethif;
+
+/*
+ * Use "static IP address" (Parameters:IP, Subnet mask, Gateway, DNS)
+ */
+       EthernetNetIf ethif(IpAddr(192,168,50,125), 
+                           IpAddr(255,255,255,0), 
+                           IpAddr(192,168,50,254),
+                           IpAddr(192,168,110,3));
+
+    
+    HTTPServer server;
+    LocalFileSystem local("local");
+ 
+int main(void) {
+ 
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Jul 18 14:30:46 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/9114680c05da