Browse Source

Merge pull request #2 from swimIan/patch-1

Patch 1
tags/3.1_alpha
swimIan GitHub 8 years ago
parent
commit
bbcf0a40bf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/buzzer/__init__.py

+ 1
- 1
modules/buzzer/__init__.py View File

@@ -9,7 +9,7 @@ except Exception as e:


class Buzzer(object): class Buzzer(object):


sound = ["H", 0.1, "L", "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): 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)


Loading…
Cancel
Save