This website works better with JavaScript.
首頁
探索
說明
註冊
登入
michal
/
craftbeerpi3
镜像来自
https://github.com/Manuel83/craftbeerpi3
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
2
Wiki
Activity
瀏覽代碼
Add two more beeps to the buzzer sound
Makes the buzzer notifications more noticeable.
tags/3.1_alpha
swimIan
GitHub
8 年之前
父節點
ca9575ac29
當前提交
42e91de9eb
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/buzzer/__init__.py
+ 1
- 1
modules/buzzer/__init__.py
查看文件
@@ -9,7 +9,7 @@ except Exception as e:
class Buzzer(object):
sound = ["H", 0.1, "L"]
sound = ["H", 0.1, "L"
, "H", 0.1, "L", "H", 0.1, "L"
]
def __init__(self, gpio):
try:
cbpi.app.logger.info("INIT BUZZER NOW GPIO%s" % gpio)
Write
Preview
Loading…
取消
儲存