Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
di0ib
/
tmk_keyboard_custom
Seguir
1
Destacar
0
Fork
0
Código
Lanzamientos
0
Actividad
Explorar el Código
adb_usb: Add LED flash on startup
master
tmk
hace 8 años
padre
310a39dd76
commit
c219570e54
Se han
modificado 1 ficheros
con
6 adiciones
y
0 borrados
Dividir vista
Mostrar estadísticas de diff
6
0
converter/adb_usb/matrix.c
+ 6
- 0
converter/adb_usb/matrix.c
Ver fichero
@@ -86,6 +86,12 @@ void matrix_init(void)
//debug_keyboard = true;
//debug_mouse = true;
print("debug enabled.\n");
// LED flash
DDRD |= (1<<6); PORTD |= (1<<6);
_delay_ms(500);
DDRD |= (1<<6); PORTD &= ~(1<<6);
return;
}