Skip to content

Commit 9cb5af6

Browse files
print "Done"
1 parent b774198 commit 9cb5af6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

weallcode_robot/robot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, name, debug=False, scan_timeout=2.0):
7676
self.name = name
7777
else:
7878
self.name = self.device_map[self.name]
79-
79+
8080
def led(self, r, g, b, duration: float = 0):
8181
self.commands.append(LEDCommand(r, g, b))
8282
self.wait(duration)
@@ -144,3 +144,5 @@ def run(self, clear=True):
144144
self.commands.append(LEDCommand(0, 0, 0))
145145
self.commands.append(BuzzerCommand(0))
146146
asyncio.run(self._connect_and_run())
147+
148+
print(f"\n{self.name} Done!\n")

0 commit comments

Comments
 (0)