使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
注册
登录
michal
/
craftbeerpi3
镜像自地址
https://github.com/Manuel83/craftbeerpi3
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
2
百科
动态
浏览代码
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 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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)
撰写
预览
正在加载...
取消
保存