Skip to content

Commit 8192b77

Browse files
default buzz to 1/4 second)
1 parent 9cb5af6 commit 8192b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weallcode_robot/robot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def displayDots(self, matrix: list[int], duration: float = 0):
104104
def clearDisplay(self):
105105
self.commands.append(DisplayDotMatrixCommand())
106106

107-
def buzz(self, frequency: int, duration: float = 0):
107+
def buzz(self, frequency: int, duration: float = 0.25):
108108
self.commands.append(BuzzerCommand(frequency))
109109
self.wait(duration)
110110
self.commands.append(BuzzerCommand(0))

0 commit comments

Comments
 (0)