void matrix_init(void) | void matrix_init(void) | ||||
{ | { | ||||
// To use PORTF disable JTAG with writing JTD bit twice within four cycles. | |||||
MCUCR |= (1<<JTD); | |||||
MCUCR |= (1<<JTD); | |||||
// initialize row and col | // initialize row and col | ||||
setup_io_pins(); | setup_io_pins(); | ||||
setup_leds(); | setup_leds(); |