]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/comet46/comet46.c
Make both RGB and sound work on Clueboard 66% hotswap
[qmk_firmware.git] / keyboards / comet46 / comet46.c
1 #include "comet46.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 void matrix_init_kb(void) {
15         // put your keyboard start-up code here
16         // runs once when the firmware starts up
17         matrix_init_user();
18         uart_init();
19         led_init();
20 }
21
22 void matrix_scan_kb(void) {
23         // put your looping keyboard code here
24         // runs every cycle (a lot)
25         matrix_scan_user();
26 }
27
28 void led_set_kb(uint8_t usb_led) {
29
30 }