 const int pins[pinc] = {5,6,7,8}; //physical to logical pin address
 const int eeprom[pinc] = {0,1,2,3}; //pin address in eeprom
 
-volatile int pineepromstate[pinc] = {0,0,0,0};
 volatile int pinhardstate[pinc] = {0,0,0,0};
 volatile int pinsoftstate[pinc] = {0,0,0,0};
-volatile unsigned long pintime[pinc] = {0,0,0,0};
+int pineepromstate[pinc] = {0,0,0,0};
 int pinreport[pinc] = {0,0,0,0};
 
 byte mac[] = {0x02, 0x80, 0xC2, 0x00, 0x00, 0x01};

      }

   //
   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

      //
         pinhardstate[i] = 1;
         pinsoftstate[i] = 1;
         }
      else 
         if (state==HIGH && pinhardstate[i]==1) // ...button up
            {
         //
            pinhardstate[i] = 0;
            }
      }
}
