Getting length and pattern to display on the bar leds.