 {
   client.print F("<!DOCTYPE html> <html> <head> <base href=\"http://");
   client.print  (myIP);
-  client.println F("\"> </head> <body><form action=\"/\">");
+  client.println("\"> </head> <body> ");
+  client.println("<form action=\"/\">");
   client.println("Stimulus duration (s) <BR>");
   client.println("<input type=\"radio\" name=\"time\"  id=\"one\" value=\"1000\">1<br>");
   client.println("<input type=\"radio\" name=\"time\"  id=\"three\" value=\"3000\">3<br>");
   client.println("<input type=\"radio\" name=\"time\"  id=\"five\" value=\"5000\">5<br>");
   client.println("");
-  client.println("<p style=\"color:red\"><HR>Background");
+  client.println("<p style=\"color:red\"><HR>Blue Background");
   client.println("");
   client.print("<input type=\"number\" id=\"myNumber\" name=\"background\" value=\"");
   client.print(myBackground);

  client.print("<input type=\"number\" id=\"myIntensity\" name=\"intensity\" value=\"");
  client.print(myIntensity);
  client.println("\">");
  client.println("</td><td>");
  client.println("<input type=\"radio\" name=\"col\" id=\"red\" value=\"1\">red<br>");
  client.println("<input type=\"radio\" name=\"col\" id=\"green\" value=\"2\">green<br>");
  client.println("<input type=\"radio\" name=\"col\" id=\"blue\" value=\"3\">blue<br><BR>");
  client.println("</td></tr></table><BR>");

  client.println("<input type=\"submit\" value=\"Submit\"></form>");

  client.println("");
  switch (myCol)
  {
    case 1:
      client.println("<script>var shirtColor = \"red\";");
      break;
    case 2:
      client.println("<script>var shirtColor = \"green\";");
      break;
    case 3:
    default:
      client.println("<script>var shirtColor = \"blue\";");
      break;
  }
  client.println("document.getElementById(shirtColor).checked = true; </script>");
  
    client.println("");
  switch (myTime)
  {
    case 1000:
      client.println("<script>var shirtTime = \"one\";");
      break;
    case 3000:
    default:
      client.println("<script>var shirtTime = \"three\";");
      break;
    case 5000:
      client.println("<script>var shirtTime = \"five\";");
      break;
  }
  client.println("document.getElementById(shirtTime).checked = true; </script>");
  client.println("");
  client.println("</body></html>");
}

const byte amberled = 6;
const byte whiteled = 11;
const byte cyaled = 9;
const byte extrawhitepin = 53;

#ifdef ARDUINO_LINUX
const byte redled = 3;
const byte grnled = 5;
const byte bluLED = 6;
#endif

#ifdef due3
const byte redled = 7;
const byte grnled = 3;
const byte bluLED = 5;
#endif

#ifdef due4
const byte redled = 7;
const byte grnled = 3;
const byte bluLED = 5;
#endif

#ifdef due5
const byte redled = 7;
const byte grnled = 3;
const byte bluLED = 5;
#endif

#ifdef due6
const byte redled = 6;
const byte grnled = 5;
const byte bluLED = 7;
#endif

//#ifdef ESP8266
//const byte redled = 4;
//const byte grnled = 0;
//const byte bluLED = 5;
//#endif

#ifdef ESP8266
const byte redled = 13; // Farnell 2080005
const byte grnled = 15; // 1855562
const byte bluLED = 2;  // 1045418
#endif
const byte analogPin = 0 ;
//const byte connectedPin = A1;
byte iGainFactor = 1 ;

int myIntensity = 128 ;
