We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b8c1bce + 363678d commit d2a630eCopy full SHA for d2a630e
1 file changed
NeoKey_BFF_Examples/CP_Keyboard_Example/code.py
@@ -43,9 +43,10 @@
43
switch_state = False
44
45
# if the button is pressed..
46
- if not switch.value and not switch_state:
47
- # neopixel brightness is 0.3 and rainbow animation is visible
+ elif not switch.value and not switch_state:
48
pixels.fill(pixel_color)
49
pixels.show()
50
keyboard.press(modifier_key, key)
51
switch_state = True
+
52
+ time.sleep(0.05)
0 commit comments