im too dumb to understand = and ==
This commit is contained in:
parent
c703f25311
commit
953a2836dc
@ -241,7 +241,7 @@ def change_led_colour(red_amount,green_amount,blue_amount):
|
|||||||
change_red(red_amount)
|
change_red(red_amount)
|
||||||
change_blue(blue_amount)
|
change_blue(blue_amount)
|
||||||
change_green(green_amount)
|
change_green(green_amount)
|
||||||
if leds_constant_update = False:
|
if leds_constant_update == False:
|
||||||
led_red.ChangeDutyCycle(led_red_brightness)
|
led_red.ChangeDutyCycle(led_red_brightness)
|
||||||
led_green.ChangeDutyCycle(led_green_brightness)
|
led_green.ChangeDutyCycle(led_green_brightness)
|
||||||
led_blue.ChangeDutyCycle(led_blue_brightness)
|
led_blue.ChangeDutyCycle(led_blue_brightness)
|
||||||
|
Loading…
Reference in New Issue
Block a user