This website works better with JavaScript.
Home
Explore
Help
Sign In
di0ib
/
tmk_keyboard_custom
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
adb_usb: Add LED flash on startup
master
tmk
8 years ago
parent
310a39dd76
commit
c219570e54
1 changed files
with
6 additions
and
0 deletions
Split View
Show Diff Stats
6
0
converter/adb_usb/matrix.c
+ 6
- 0
converter/adb_usb/matrix.c
View File
@@ -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;
}