traveller.c (412B)
1 #include "quantum.h" 2 3 void matrix_init_kb(void) { 4 // put your keyboard start-up code here 5 // runs once when the firmware starts up 6 7 #ifdef RGBLIGHT_ENABLE 8 rgblight_init(); 9 rgblight_mode(1); // solid, no timer 10 rgblight_setrgb(0,20,0);// dim green, happens to be same as _QW 11 #endif 12 13 // Turn status LED on 14 gpio_set_pin_output(C7); 15 gpio_write_pin_high(C7); 16 17 matrix_init_user(); 18 }