       break;
   case 9: // Color Pulsate
       wait = 100;
-      if (STrigger){
-        C_MODE += 1;
-        if (C_MODE > 10)C_MODE = 1;
-        colorMode(C_MODE);
-        wait = 20;
-      }
+      STrigColor();
       for(i=0; i<7; i++) {
         strip.setBrightness(0+((Lux/7)*i));
         colorChange(strip.Color(R, G, B));
         delay(wait);
       }
+      STrigColor();
       for(i=0; i<7; i++) {
         strip.setBrightness(Lux-((Lux/7)*i));
         colorChange(strip.Color(R, G, B));

        delay(wait);
      }
      break;  
  }
}


    P_MODE = 7;
    EEPROM.update(3, P_MODE);
  }
    strip.begin();
  strip.setBrightness(Lux);
    strip.show(); // Initialize all pixels to 'off'
    
    if (!digitalRead(P_BUTTON)){
    colorChange(strip.Color(50, 50, 50));
    delay(100);
    LEDSsetup(1);
  }
    if (!digitalRead(C_BUTTON)){
    colorChange(strip.Color(255, 255, 255));
    delay(100);
    LUXsetup(1);
  }
