def make_led_brightness_message(brightness):
 raise ((0 <= brightness <= 127) or AssertionError)
 return make_message(6, (brightness,))

def make_led_brightness_message ( brightness ) : raise ( ( 0 <= brightness <= 127 ) or AssertionError ) return make_message ( 6 , ( brightness , ) )
sets a new brightness and reapplies the color palette .