 #define LED_TYPE WS2811
 #define COLOR_ORDER RGB
 
-#define LED_ROWS 10
-
-#define LED_COLS 5
+#define MatrixWidth 5
+#define MatrixHeight 10
 
 const int BUTTON_PIN = 2;
 

    delay(100);
    digitalWrite(9, HIGH);    
    delay(100);
    digitalWrite(9, LOW);
    Serial.println("here");
    next_animation = 0;
    animation++;
  }

}

void barber_pole() {
  //where the animation starts  
  CRGB red = CRGB::Red;
  CRGB white = CRGB::White;
  int offset = 0;  
  while(!quitAnimation()) {
    if(offset >= MatrixWidth) {
      offset = 0;
    }
    //fill with white
    fill_color(leds, 0, NUM_LEDS-1, white);
    int x = offset;
    for(int y=0; y<MatrixHeight; y++) {
      if(x >= MatrixWidth) {
        x = 0;
      }
      leds[XY(x,y)] = red;
      x++;
    }
    offset++;    
    FastLED.show();
    aDelay(100 * ANIMATION_SPEED);
  }
}

