Update leds straight away after a sync
This commit is contained in:
@@ -34,7 +34,8 @@ class Patterns:
|
||||
|
||||
def sync(self):
|
||||
self.pattern_step=0
|
||||
self.last_update = utime.ticks_ms()
|
||||
self.last_update = utime.ticks_ms() - self.delay
|
||||
self.tick()
|
||||
|
||||
def tick(self):
|
||||
if self.patterns[self.selected]:
|
||||
|
Reference in New Issue
Block a user