forked from andreeuuetoa/litsimaja
Make refresh time longer
This commit is contained in:
@@ -13,7 +13,7 @@ def name():
|
||||
|
||||
class DiskoPidu(Program):
|
||||
|
||||
def disco(self, segmentLength, wait_ms=50):
|
||||
def disco(self, segmentLength, wait_ms):
|
||||
color = random.randint(0, 0xffffff)
|
||||
totalLength = self._lm.count_pixels()
|
||||
for p in range(totalLength):
|
||||
@@ -30,7 +30,7 @@ class DiskoPidu(Program):
|
||||
loop = args['loop']
|
||||
|
||||
while self.get_loop().status():
|
||||
self.disco(10)
|
||||
self.disco(10, 500)
|
||||
|
||||
if not loop:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user