+#include <RCSwitch.h>
+RCSwitch mySwitch = RCSwitch();
+
 int inPin = 7;  // the pin number for input (for me a push button)
 int ledPin = 13; 
 

byte previous = HIGH;
unsigned long firstTime; // how long since the button was first pressed 


void setup() {
  Serial.begin(9600);         // Use serial for debugging
  pinMode(ledPin, OUTPUT);
  digitalWrite(inPin, HIGH);  // Turn on 20k pullup resistors to simplify switch input
}


      // Button pressed for less than 6 seconds, turn on.
      if (secs_held < 6) {
        Serial.print("Short Press: ");
        Serial.print(secs_held);
        Serial.print("   Milliseconds held: ");
        Serial.println(millis_held);
        ledblink(10,200,ledPin); 
        //Turn on sockets
        turnSocketsOn();
      }

      // Button held for more than 6 seconds, turn off.
