");
client.println(");
client.println("");
client.print("Control 4 LED Via Wifi");
client.println("");
client.println("");
client.println("
");
//Program Here
// Return the response LED1
//client.print("LED1 is now: ");
// Control LED 1
if (request.indexOf("/status1=1") != -1) {
digitalWrite(LED1, ON);
value1 = HIGH;
lcd.setCursor(0,0);
lcd.print("LED1 set to ON ");
lcd.setCursor(0,1);
lcd.print("by Client Reques");
delay (delayLCD);
}
if (request.indexOf("/status1=0") != -1) {
digitalWrite(LED1, OFF);
value1 = LOW;
lcd.setCursor(0,0);
lcd.print("LED1 set to OFF ");
lcd.setCursor(0,1);
lcd.print("by Client Reques");
delay (delayLCD);
}
if(value1==HIGH){
client.println("
");
client.print("status1=1");
}
if(value1==LOW){
client.println("
");
client.print("status1=0");
}
//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("
");
//Program Here
// Return the response LED1
//client.print("LED1 is now: ");
// Control LED 1
if (request.indexOf("/status1=1") != -1) {
digitalWrite(LED1, ON);
value1 = HIGH;
lcd.setCursor(0,0);
lcd.print("LED1 set to ON ");
lcd.setCursor(0,1);
lcd.print("by Client Reques");
delay (delayLCD);
}
if (request.indexOf("/status1=0") != -1) {
digitalWrite(LED1, OFF);
value1 = LOW;
lcd.setCursor(0,0);
lcd.print("LED1 set to OFF ");
lcd.setCursor(0,1);
lcd.print("by Client Reques");
delay (delayLCD);
}
if(value1==HIGH){
client.println("
");
client.print("status1=1");
}
if(value1==LOW){
client.println("
");
client.print("status1=0");
}
//client.println("
");
//client.println("");
//client.println("
");
//client.println("