Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Rekisteröidy
Kirjaudu sisään
michal
/
craftbeerpi3
peilaus alkaen
https://github.com/Manuel83/craftbeerpi3
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Julkaisut
2
Wiki
Activity
Selaa lähdekoodia
Add two more beeps to the buzzer sound
Makes the buzzer notifications more noticeable.
tags/3.1_alpha
swimIan
GitHub
8 vuotta sitten
vanhempi
ca9575ac29
commit
42e91de9eb
1 muutettua tiedostoa
jossa
1 lisäystä
ja
1 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/buzzer/__init__.py
+ 1
- 1
modules/buzzer/__init__.py
Näytä tiedosto
@@ -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…
Peruuta
Tallenna