 
 
 // Fade7 effect.
-void fade7(int8_t dir){
-  setStartEnd(dir);
-  Serial.print("Fade7 dir: ");
-  Serial.println(dir);
+void fade7(){
+  //setStartEnd(dir);
+  Serial.println("Fade7");
+  //Serial.println(dir);
   const uint8_t mx = BRIGHTNESS;
   uint8_t r = mx;
   uint8_t g = 0;
   uint8_t b = 0;
   const uint8_t del = 25;
   boolean glitter = ( random8() < 120 );
-  for(gStair=gStairStart; (dir == 1 && gStair < gStairEnd ) || (dir == -1 && gStair >= gStairEnd && gStair <= gStairStart+1 ); gStair+=(2*dir)) {
+  for (gStair=0; gStair < NUM_LEDS; gStair+=2){
     for (r=0; r<mx; r+=2) {
-      leds[gStair] = CRGB( r, g, b );
-      leds[gStair + 1*dir] = CRGB( r, g, b );
+      leds[gUpDown[gStair]] = CRGB( r, g, b );
+      leds[gUpDown[gStair + 1]] = CRGB( r, g, b );
       FastLED.show();
       FastLED.delay(1);
     }

  if ( digitalRead(PIN_PIR_UP) == HIGH ){
    if ( lightsOn == LOW ) {
      lightsOn = HIGH;
      //fade7(1);
      //walk(1);
      flicker(1);
      delay(50);
    }
  }

  digitalWrite(PIN_PIR_DOWN, LOW);
  digitalWrite(PIN_PIR_UP, LOW);
  Serial.println(" done");
  welcomeRainbow();  // rainbow - give time for PIR sensors.
  setUpDown(GO_DOWN);
  Serial.println("SENSOR ACTIVE");
}

// Main Loop track PIR sensors.
