Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
michal
/
craftbeerpi3
mirror da
https://github.com/Manuel83/craftbeerpi3
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
2
Wiki
Attività
Sfoglia il codice sorgente
Add two more beeps to the buzzer sound
Makes the buzzer notifications more noticeable.
tags/3.1_alpha
swimIan
GitHub
8 anni fa
parent
ca9575ac29
commit
42e91de9eb
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/buzzer/__init__.py
+ 1
- 1
modules/buzzer/__init__.py
Vedi File
@@ -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…
Annulla
Salva