dajmo to ven malo
parent
942c64a577
commit
de69ea5a98
|
@ -6,8 +6,8 @@ bool i2c_initialized = 0;
|
||||||
uint8_t mcp23018_status = 0x20;
|
uint8_t mcp23018_status = 0x20;
|
||||||
|
|
||||||
void matrix_init_kb(void) {
|
void matrix_init_kb(void) {
|
||||||
DDRB &= ~(1<<4); // set B(4) as input
|
// DDRB &= ~(1<<4); // set B(4) as input
|
||||||
PORTB &= ~(1<<4); // set B(4) internal pull-up disabled
|
// PORTB &= ~(1<<4); // set B(4) internal pull-up disabled
|
||||||
|
|
||||||
// unused pins - C7, D4, D5, D7, E6
|
// unused pins - C7, D4, D5, D7, E6
|
||||||
// set as input with internal pull-up enabled
|
// set as input with internal pull-up enabled
|
||||||
|
|
Loading…
Reference in New Issue