]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/mitosis/mitosis.c
Change to per-key eager debouncing for ErgoDox EZ.
[qmk_firmware.git] / keyboards / mitosis / mitosis.c
1 #include "mitosis.h"
2
3 void uart_init(void) {
4         SERIAL_UART_INIT();
5 }
6
7 void led_init(void) {
8         DDRD  |= (1<<1);
9         PORTD |= (1<<1);
10         DDRF  |= (1<<4) | (1<<5);
11         PORTF |= (1<<4) | (1<<5);
12 }
13
14
15 void matrix_init_kb(void) {
16         // put your keyboard start-up code here
17         // runs once when the firmware starts up
18         matrix_init_user();
19         uart_init();
20         led_init();
21 }
22
23 void matrix_scan_kb(void) {
24         // put your looping keyboard code here
25         // runs every cycle (a lot)
26         matrix_scan_user();
27 }
28
29 void led_set_kb(uint8_t usb_led) {
30
31 }