 const int yellowLED  = 6;
 const int routerPin1 = 8;
 const int routerPin2 = 9;
-const int resetRouterTime = 30000;
-const int timeBetweenPings = 5000;
+const int resetRouterTimeSec = 30;
+const int secBetweenPings_Up = 5;
+const int secBetweenPings_Down = 1;
+const int startUpDelaySec = 5;
+const int switchPin = 12;
 
 String internetStatus;
 

 * red LED (internet down): pin 3
 * green LED (internet up): pin 5
 * yellow LED (testing):    pin 6
 * 
 *
 * needs checkInternet.py installed in /usr/bin in Yun Linino
 */

    pinMode(routerPin2, OUTPUT);
    digitalWrite(routerPin1, HIGH);
    digitalWrite(routerPin2, HIGH);
    pinMode(switchPin, INPUT);
    digitalWrite(switchPin, HIGH);

    Bridge.begin();  // make contact with the linux processor

    digitalWrite(redLED, HIGH);
    digitalWrite(greenLED, HIGH);
    digitalWrite(yellowLED, HIGH);
    delay(startUpDelaySec*1000);
    digitalWrite(redLED, LOW);
    digitalWrite(greenLED, LOW);
    digitalWrite(yellowLED, LOW);
