add led brightness code