~ruther/qmk_firmware

ref: fa08cb2478e8c13a9f1c785956c95cb49bbebba3 qmk_firmware/keyboards/handwired/traveller/traveller.c -rw-r--r-- 400 bytes
fa08cb24 — Drashna Jaelre [Keymap] Drashna keymap updates for 0.18.0 (#18184) 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "traveller.h"

void matrix_init_kb(void) {
    // put your keyboard start-up code here
    // runs once when the firmware starts up

#ifdef RGBLIGHT_ENABLE
    rgblight_init();
    rgblight_mode(1); // solid, no timer
    rgblight_setrgb(0,20,0);// dim green, happens to be same as _QW
#endif

    // Turn status LED on
    setPinOutput(C7);
    writePinHigh(C7);

    matrix_init_user();
}