     }
     else if(command.equals(SETBRIGHTNESS))
     {
-        int brightness = stringToInt(args[1]);
+        brightness = stringToInt(args[1]);
+        EEPROM.put(EEPROM_BRIGHTNESS, brightness);
         strip2.setBrightness(brightness);
         strip2.show();
     }

    EEPROM.get(EEPROM_ADDR_STRIP_1, stripObj1);
    EEPROM.get(EEPROM_ADDR_STRIP_2, stripObj2);
    EEPROM.get(EEPROM_ADDR_PINS, pinObj);

    Serial.begin(9600);  
    strip2.begin();

{
    int pins[NUM_PINS];
};

uint8_t brightness = 255;

Adafruit_NeoPixel strip0 = Adafruit_NeoPixel(PIXEL_COUNT_0, PIXEL_PIN_0, PIXEL_TYPE);
LEDObject stripObj0 = {{'I', 'N', 'I', 'T'}};
