adding elif

This commit is contained in:
BlitzCityDIY 2023-02-15 13:01:49 -05:00
parent 4380b22136
commit 1fd58d657e

View file

@ -43,7 +43,7 @@ while True:
switch_state = False
# if the button is pressed..
if not switch.value and not switch_state:
elif not switch.value and not switch_state:
pixels.fill(pixel_color)
pixels.show()
keyboard.press(modifier_key, key)