This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
michal
/
craftbeerpi3
mirror of
https://github.com/Manuel83/craftbeerpi3
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
2
Wiki
Activity
Browse Source
Merge pull request
#90
from swimIan/master
Add 2 more beeps to the Buzzer
tags/3.1_alpha
Manuel83
GitHub
8 years ago
parent
f8d4015b6e
1184107e50
commit
805b3fae1b
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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):
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):
try:
cbpi.app.logger.info("INIT BUZZER NOW GPIO%s" % gpio)
Write
Preview
Loading…
Cancel
Save