Skip to content

Commit 99276c8

Browse files
committed
display wait Refactoring
1 parent 29f428a commit 99276c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

10.microbit/display.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,13 @@ def __init__(self):
289289
def stop(self):
290290
self.alive = False
291291
if Display.lock.acquire():
292-
print("stop")
292+
# print("stop")
293293
Display.lock.release()
294294
def scroll(self, val, color=Red, delay=150):
295295
self.stop()
296296
self.alive = True
297297
if Display.lock.acquire():
298-
print("start")
298+
# print("start")
299299
_thread.start_new_thread(self._scroll,([val,color,delay]))
300300
Display.lock.release()
301301
def Disrupt_Col(color):

0 commit comments

Comments
 (0)