Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
michal
/
craftbeerpi3
réplica de
https://github.com/Manuel83/craftbeerpi3
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
2
Wiki
Actividad
Explorar el Código
Add two more beeps to the buzzer sound
Makes the buzzer notifications more noticeable.
tags/3.1_alpha
swimIan
GitHub
hace 8 años
padre
ca9575ac29
commit
42e91de9eb
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
modules/buzzer/__init__.py
+ 1
- 1
modules/buzzer/__init__.py
Ver fichero
@@ -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)
Escribir
Vista previa
Cargando…
Cancelar
Guardar