     args = stringSplit(params, ',');
     String command = args[0];
 
-    if(!command.equals(ON) && !command.equals(OFF))
+    if(!command.equals(ON) && !command.equals(OFF) && !command.equals(SETBRIGHTNESS))
     { //save the pin commands
         params.toCharArray(stripObj2.params, 64);
         EEPROM.put(EEPROM_ADDR_STRIP_2, stripObj2);

#include "neopixel.h"
#include "led-strip-particles.h"

#define EEPROM_ADDR_PINS 0
#define EEPROM_ADDR_STRIP_0 500
#define EEPROM_ADDR_STRIP_1 1000
#define EEPROM_ADDR_STRIP_2 1500

{
    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'}};
