update RGB for more modern cpy versions

This commit is contained in:
Kyle Brown 2020-10-09 22:43:37 -07:00
parent 026308bbeb
commit 6e10babfbe
2 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ class KMKKeyboard:
if self.pixels and self.pixels.animation_mode:
self.pixels.loopcounter += 1
if self.pixels.loopcounter >= 7:
if self.pixels.loopcounter >= 30:
self.pixels = self.pixels.animate()
self.pixels.loopcounter = 0

View File

@ -457,7 +457,7 @@ class RGB:
return self
def effect_swirl(self):
self.increase_hue(self.animation_speed * 2)
self.increase_hue(self.animation_speed)
self.disable_auto_write = True # Turn off instantly showing
for i in range(0, self.num_pixels):
self.set_hsv(