Pod-zabljena pičja

master
Jure Podgoršek 2018-04-13 20:02:23 +02:00 committed by Jurij Podgoršek
parent d96059789f
commit 0c9580cb4c
1 changed files with 8 additions and 8 deletions

View File

@ -274,19 +274,19 @@ static void init_cols(void)
//PORTF |= (1<<7 | 1<<6 | 1<<5 | 1<<4 | 1<<1 | 1<<0); //PORTF |= (1<<7 | 1<<6 | 1<<5 | 1<<4 | 1<<1 | 1<<0);
// Cist mimo // Cist mimo
DDRB &= ~(1<<5 | 1<<4) DDRB &= ~(1<<5 | 1<<4);
PORTB |= (1<<5 | 1<<4) PORTB |= (1<<5 | 1<<4);
// Evo to je ze boljse // Evo to je ze boljse
DDRE &= ~(1<<6) DDRE &= ~(1<<6);
PORTE |= (1<<6) PORTE |= (1<<6);
DDRD &= ~(1<<4 | 1<<7) DDRD &= ~(1<<4 | 1<<7);
PORTD |= (1<<4 | 1<<7) PORTD |= (1<<4 | 1<<7);
DDRC &= ~(1<<6) DDRC &= ~(1<<6);
PORTC |= (1<<6) PORTC |= (1<<6);
} }
static matrix_row_t read_cols(uint8_t row) static matrix_row_t read_cols(uint8_t row)