1
0
Fork 0

matrix scan & default keymap

This commit is contained in:
tmk 2010-08-22 23:58:37 +09:00
parent 20711b59e7
commit 8cfb3712d5
7 changed files with 467 additions and 38 deletions

View file

@ -58,5 +58,9 @@ void phex16(unsigned int i)
}
void pbin(unsigned char c)
{
for (int i=7; i>=0; i--) {
usb_debug_putchar((c & (1<<i)) ? '1' : '0');
}
}