 
     if(!state) {
         WiServer.init(sendMyPage);
-    }
+    } 
 
     // Run WiServer
     WiServer.server_task();

    WiServer.print ("</div></body></html>");
}


void move_to_start() 
{
    myMotor.write(80);
    //delay(500); // delay 1000ms, this allows the previous instruction to be finished. 
}
     

void move_to_end() 
{
    myMotor.write(70);
}

void move_to_ninty()
{
    myMotor.write(90);
}


    WiServer.print (local_ip[3], DEC);
    WiServer.print ("</center></font><br>");
 
    if (armed) {
        WiServer.print("<div align=""center""><form><font size=20 color=green> Engine Motor - ON</font><br>");
        WiServer.print("<method=GET>");
        WiServer.print_P(htmlMotor);
    }    
    else {
        WiServer.print("<div align=""center""><form><font size=20 color=red> Engine Motor - OFF</font><br>");
        WiServer.print("<method=GET>");
        WiServer.print_P(htmlMotor);
    }   
