A simple HTTP server echoing received requests. Ethernet connection is over an ENC28J60 board. Usage: Type the server's IP address into you web browser and hit <ENTER>.

Dependencies:   UIPEthernet

Files at this revision

API Documentation at this revision

Comitter:
hudakz
Date:
Sat Dec 20 12:02:19 2014 +0000
Parent:
0:8b40576553d2
Child:
2:519b6ae198ae
Commit message:
rev 01

Changed in this revision

UIPEthernet.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
--- a/UIPEthernet.lib	Wed Sep 17 08:51:50 2014 +0000
+++ b/UIPEthernet.lib	Sat Dec 20 12:02:19 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/hudakz/code/UIPEthernet/#5350a66d5279
+http://mbed.org/users/hudakz/code/UIPEthernet/#5b17e4656dd0
--- a/main.cpp	Wed Sep 17 08:51:50 2014 +0000
+++ b/main.cpp	Sat Dec 20 12:02:19 2014 +0000
@@ -31,7 +31,7 @@
 
 int main()
 {
-    Ethernet.begin(MY_MAC,MY_IP);
+    UIPEthernet.begin(MY_MAC,MY_IP);
     myServer.begin();
     while(1) {
         EthernetClient client = myServer.available();