1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include "launchpad.h" void matrix_init_kb(void) { // JTAG disable for PORT F. write JTD bit twice within four cycles. MCUCR |= (1<<JTD); MCUCR |= (1<<JTD); // Undo init of RX LED, we use that port currently //DDRB &= ~(1<<0); matrix_init_user(); };