mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
Update __init__.py
Added a wait time between the beeps.
This commit is contained in:
@@ -9,7 +9,7 @@ except Exception as e:
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user