change flickering light's brightness pattern