Skip to content

Commit

Permalink
default buzz to 1/4 second)
Browse files Browse the repository at this point in the history
  • Loading branch information
blainerothrock committed Dec 27, 2023
1 parent 9cb5af6 commit 8192b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weallcode_robot/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 8192b77

Please sign in to comment.