chimera_ortho.c (501B)
1 #include "chimera_ortho.h" 2 3 void led_init(void) { 4 gpio_set_pin_output(CHIMERA_ORTHO_GREEN_LED_PIN); 5 gpio_write_pin_high(CHIMERA_ORTHO_GREEN_LED_PIN); 6 gpio_set_pin_output(CHIMERA_ORTHO_BLUE_LED_PIN); 7 gpio_write_pin_high(CHIMERA_ORTHO_BLUE_LED_PIN); 8 gpio_set_pin_output(CHIMERA_ORTHO_RED_LED_PIN); 9 gpio_write_pin_high(CHIMERA_ORTHO_RED_LED_PIN); 10 } 11 12 13 void matrix_init_kb(void) { 14 // put your keyboard start-up code here 15 // runs once when the firmware starts up 16 matrix_init_user(); 17 led_init(); 18 }