Merge pull request #90 from swimIan/master

Add 2 more beeps to the Buzzer
This commit is contained in:
Manuel83
2017-07-19 06:31:08 +02:00
committed by GitHub
+1 -1
View File
@@ -9,7 +9,7 @@ except Exception as e:
class Buzzer(object): class Buzzer(object):
sound = ["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): def __init__(self, gpio):
try: try:
cbpi.app.logger.info("INIT BUZZER NOW GPIO%s" % gpio) cbpi.app.logger.info("INIT BUZZER NOW GPIO%s" % gpio)