 // the setup routine runs once when you press reset:
 void setup() 
 {                
-   // initialize the digital pin as an output.
-   //pinMode(led, OUTPUT);
-
-   // initialise to internal 20Mom rezister
+   // initialise to internal 20Mom resistor
    for (int i = 0; i < pinc; i++)
       {
    //

      //
         pinhardstate[i] = 1;
         pinsoftstate[i] = 1;
         pintime[i] = millis();
         }
      else 

      digitalWrite(pins[i], HIGH);
      }

   //eeprom read
   for (int i = 0; i < pinc; i++)
      {
   //
      pineepromstate[i] = EEPROM.read(eeprom[i]);
      }

   //
   Timer1.initialize(100000); // 10Hz // set a timer of length 100000 microseconds (or 0.1 sec - or 10Hz)
   Timer1.attachInterrupt( timerIsr );

   //Start up the serial port
