diff options
author | Damien <Dbroqua@users.noreply.github.com> | 2017-04-29 15:03:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-29 15:03:52 +0200 |
commit | 584b804ee33d53102fef3b8cdd045bca4c47bf26 (patch) | |
tree | cccdc512fed02293ffd0bfb962ec14d8a8664e7f /keyboards/mitosis/mitosis.c | |
parent | 215dd126d08b29939c53bf0eaa006ce6ecdedb83 (diff) | |
parent | 26bbfd78125224abdbd2e4ccf3aa3df1b5fc4968 (diff) |
Merge pull request #21 from qmk/master
Merge from QMK
Diffstat (limited to 'keyboards/mitosis/mitosis.c')
-rw-r--r-- | keyboards/mitosis/mitosis.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/mitosis/mitosis.c b/keyboards/mitosis/mitosis.c new file mode 100644 index 0000000000..24de82724a --- /dev/null +++ b/keyboards/mitosis/mitosis.c @@ -0,0 +1,31 @@ +#include "mitosis.h" + +void uart_init(void) { + SERIAL_UART_INIT(); +} + +void led_init(void) { + DDRD |= (1<<1); + PORTD |= (1<<1); + DDRF |= (1<<4) | (1<<5); + PORTF |= (1<<4) | (1<<5); +} + + +void matrix_init_kb(void) { + // put your keyboard start-up code here + // runs once when the firmware starts up + matrix_init_user(); + uart_init(); + led_init(); +} + +void matrix_scan_kb(void) { + // put your looping keyboard code here + // runs every cycle (a lot) + matrix_scan_user(); +} + +void led_set_kb(uint8_t usb_led) { + +}
\ No newline at end of file |