Skip to content

Commit

Permalink
print "Done"
Browse files Browse the repository at this point in the history
  • Loading branch information
blainerothrock committed Dec 27, 2023
1 parent b774198 commit 9cb5af6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion weallcode_robot/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, name, debug=False, scan_timeout=2.0):
self.name = name
else:
self.name = self.device_map[self.name]

def led(self, r, g, b, duration: float = 0):
self.commands.append(LEDCommand(r, g, b))
self.wait(duration)
Expand Down Expand Up @@ -144,3 +144,5 @@ def run(self, clear=True):
self.commands.append(LEDCommand(0, 0, 0))
self.commands.append(BuzzerCommand(0))
asyncio.run(self._connect_and_run())

print(f"\n{self.name} Done!\n")

0 comments on commit 9cb5af6

Please sign in to comment.