]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/chimera_ortho/chimera_ortho.c
Merge pull request #1915 from dondelelcaro/ergodox_ez_left_leds
[qmk_firmware.git] / keyboards / chimera_ortho / chimera_ortho.c
1 #include "chimera_ortho.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 }