");
client.println(");
client.println("");
client.print("Control 4 LED Via Wifi");
client.println("");
client.println("");
client.println("
");
// Return the response LED1
client.print("LED1 is now: ");
// Control LED 1
if (request.indexOf("/LED1=ON") != -1) {
digitalWrite(LED1, HIGH);
value1 = HIGH;
}
if (request.indexOf("/LED1=OFF") != -1) {
digitalWrite(LED1, LOW);
value1 = LOW;
}
if(value1==HIGH){client.print("ON");}
if(value1==LOW){client.print("OFF");}
client.println("
");
client.println("");
client.println("
");
client.println("
client.println(");
client.println("");
client.print("Control 4 LED Via Wifi");
client.println("");
client.println("");
client.println("
");
// Return the response LED1
client.print("LED1 is now: ");
// Control LED 1
if (request.indexOf("/LED1=ON") != -1) {
digitalWrite(LED1, HIGH);
value1 = HIGH;
}
if (request.indexOf("/LED1=OFF") != -1) {
digitalWrite(LED1, LOW);
value1 = LOW;
}
if(value1==HIGH){client.print("ON");}
if(value1==LOW){client.print("OFF");}
client.println("
");
client.println("");
client.println("
");
client.println("