logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

traveller.c (412B)


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