 }
 
 void setLEDcount() {
-    button2State = digitalRead(button2Pin);
+    button3State = digitalRead(button3Pin);
     nLEDs = 1;
     strip.updateLength(nLEDs);
     strip_color = strip.Color(127, 127, 127);

// Pins
byte dataPin  = 2;  // any pin
byte clockPin = 3;  // any pin
byte button1Pin = 7;  // any pin
byte button2Pin = 8;  // any pin

int button1State = 0;
int button2State = 0;

boolean set_LED_count_mode = false;
boolean increment_LED_count = false;

};

Color color_palette[24];
byte palette_choice = 0;  // there's 2 palettes: choose 0 or 1

void setup() {
    if (DEBUG) {
        Serial.begin(9600);
    }
    
    pinMode(button2Pin, INPUT);
    pinMode(button3Pin, INPUT);
    
    // check for button press to enter LED count set mode
    button2State = digitalRead(button2Pin);
    
    if (button2State == HIGH) {
        set_LED_count_mode = true;
    }
    
