diff --git a/weallcode_robot/robot.py b/weallcode_robot/robot.py index 2434805..267ab76 100644 --- a/weallcode_robot/robot.py +++ b/weallcode_robot/robot.py @@ -104,7 +104,7 @@ def displayDots(self, matrix: list[int], duration: float = 0): def clearDisplay(self): self.commands.append(DisplayDotMatrixCommand()) - def buzz(self, frequency: int, duration: float = 0): + def buzz(self, frequency: int, duration: float = 0.25): self.commands.append(BuzzerCommand(frequency)) self.wait(duration) self.commands.append(BuzzerCommand(0))