   }
 }
 
-//void GetRGB(uint32_t g){
-//    // Returns the Red component of a 32-bit color
-//    uint8_t Red(g);
-//    {
-//        return (g >> 16) & 0xFF;
-//    }
-// 
-//    // Returns the Green component of a 32-bit color
-//    uint8_t Green(g);
-//    {
-//        return (g >> 8) & 0xFF;
-//    }
-// 
-//    // Returns the Blue component of a 32-bit color
-//    uint8_t Blue(g);
-//    {
-//        return g & 0xFF;
-//    }
-//  
-//}
-
+void STrigColor(){
+     if (STrigger){
+        C_MODE += 1;
+        if (C_MODE > 10)C_MODE = 1;
+        colorMode(C_MODE);
+        wait = 20;
+      }
+}
 // Set the number of LEDs that will be used
 void LEDSsetup(int l) {
   uint16_t t=0;


  pinMode(C_BUTTON, INPUT_PULLUP);
  pinMode(P_BUTTON, INPUT_PULLUP);
  strip.begin();
  strip.show(); // Initialize all pixels to 'off'

  LEDs = EEPROM.read(0);
  Lux = EEPROM.read(1);

  patternMode(P_MODE);
  STrigger = 0;
}


void colorMode(uint32_t m) {
  switch (m) {
