Fixed IS31FL3731 LEDs on keybow 2040

This commit is contained in:
Ellie T
2022-02-21 15:28:34 +11:00
committed by Kyle Brown
parent aae476b59f
commit d54fff883d
3 changed files with 36 additions and 30 deletions

View File

@@ -1,8 +1,18 @@
from is31fl3731_pixelbuf import Keybow2040Leds
from keybow_2040 import Keybow2040
from kmk.extensions.rgb import RGB, AnimationModes
from kmk.keys import KC
rgb_ext = RGB(
pixel_pin=0,
pixels=Keybow2040Leds(16),
num_pixels=16,
animation_mode=AnimationModes.BREATHING_RAINBOW,
)
keybow = Keybow2040()
keybow.extensions = [rgb_ext]
# fmt: off
keybow.keymap = [