finish ^o^

Fork of httpServer by WIZnet

Revision:
3:b2d8ac343302
Parent:
2:859187375533
--- a/Handler/FsHandler.cpp	Wed Aug 19 16:26:26 2015 +0000
+++ b/Handler/FsHandler.cpp	Fri Aug 21 05:12:43 2015 +0000
@@ -7,6 +7,7 @@
 int lumi_val = 1;
 int cel_val = 1;
 int touch_val = 1;
+int control = 1;
 
 DigitalIn  din(PC_14);
 
@@ -163,6 +164,10 @@
         {
             touch_val = get_http_param_value("val");
         }
+        else if(pin == 0)
+        {
+            control = get_http_param_value("val");
+        }
         else
         {
             WARN("Wrong pin number");