Modify

brigth = LED_PATTERN[pt][no_led];