     vw_set_tx_pin(RF_TX_PIN);
     vw_setup(2000);      // Bits per sec
     
-    
-    attachInterrupt(0, isrPirUp, RISING);
-    attachInterrupt(1, isrPirDown, RISING);
+    // Been having issues with two interupt pins seemingly setting each other off.
+    // so both call the same isr and only one motion is used.
+    attachInterrupt(0, isrMotion, RISING);
+    attachInterrupt(1, isrMotion, RISING);
 
 }
 

  // Motion detected.
  bitSet(flags, F_DOWN);
  bitSet(flags, F_DOWN_STAT);
  
  /*
  // Cannot detect both at once, so see if the other fired too.

// Store the pir states on interupt.
volatile byte flags = 0;

volatile byte motionUp = 0;
volatile byte motionDown = 0;

volatile byte motion = 0;

// Motion on either interupt
void isrMotion() {
  motion = 1;
}

// Interupt on PIR_UP_PIN
void isrPirUp() 
{
  // Motion detected.
  bitSet(flags, F_UP);
  bitSet(flags, F_UP_STAT);
  motionUp = 1;
  /*
  // Cannot detect both at once, so see if the other fired too.
  if (!bitRead(flags, F_DOWN_STAT)) {
