update RGB for more modern cpy versions

This commit is contained in:
Kyle Brown committed 2020-10-09 22:43:37 -07:00
1 parent 026308bbeb
commit 6e10babfbe
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
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(