Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
Added a wait time between the beeps.
  • Loading branch information
swimIan authored Jul 16, 2017
1 parent 42e91de commit 518a139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/buzzer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class Buzzer(object):

sound = ["H", 0.1, "L", "H", 0.1, "L", "H", 0.1, "L"]
sound = ["H", 0.1, "L", 0.1, "H", 0.1, "L", 0.1, "H", 0.1, "L"]
def __init__(self, gpio):
try:
cbpi.app.logger.info("INIT BUZZER NOW GPIO%s" % gpio)
Expand Down

0 comments on commit 518a139

Please sign in to comment.