This commit is contained in:
Jack Humbert 2015-08-16 17:56:15 -04:00
commit c9cbff446f
14 changed files with 367 additions and 131 deletions

View file

@ -181,6 +181,13 @@ static matrix_row_t read_cols(void)
}
//
// Planck PCB Rev 1 Pin Assignments
//
// Row: 0, 1, 2, 3
// Pin: D0, D5, B5, B6
//
static void unselect_rows(void)
{
DDRB &= ~(1<<5 | 1<<6);
@ -190,13 +197,6 @@ static void unselect_rows(void)
}
//
// Planck PCB Rev 1 Pin Assignments
//
// Row: 0, 1, 2, 3
// Pin: D0, D5, B5, B6
//
static void select_row(uint8_t row)
{
switch (row) {