New branch for led_matrix
This commit is contained in:
parent
91d22894b0
commit
2a119e1c59
@ -137,6 +137,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
|
|||||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||||
KEYMAP_EX_ENABLE = yes # External keymap in eeprom
|
KEYMAP_EX_ENABLE = yes # External keymap in eeprom
|
||||||
KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor
|
KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor
|
||||||
|
LED_MATRIX_ENABLE = yes
|
||||||
|
|
||||||
|
|
||||||
# Optimize size but this may cause error "relocation truncated to fit"
|
# Optimize size but this may cause error "relocation truncated to fit"
|
||||||
|
@ -47,10 +47,14 @@ void led_matrix_write_cols(led_matrix_row_t cols)
|
|||||||
*/
|
*/
|
||||||
void led_matrix_unselect_rows(void)
|
void led_matrix_unselect_rows(void)
|
||||||
{
|
{
|
||||||
// bit 76543210
|
// unselect key matrix rows
|
||||||
|
//DDRD &= ~0b00101111;
|
||||||
|
//PORTD &= ~0b00101111;
|
||||||
|
|
||||||
|
// bit 76543210
|
||||||
DDRB &= ~0b01000100;
|
DDRB &= ~0b01000100;
|
||||||
PORTB &= ~0b01000100;
|
PORTB &= ~0b01000100;
|
||||||
// bit 76543210
|
// bit 76543210
|
||||||
DDRF &= ~0b11110000;
|
DDRF &= ~0b11110000;
|
||||||
PORTF &= ~0b11110000;
|
PORTF &= ~0b11110000;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user