3 extern inline void ergodox_board_led_on(void);
4 extern inline void ergodox_right_led_1_on(void);
5 extern inline void ergodox_right_led_2_on(void);
6 extern inline void ergodox_right_led_3_on(void);
7 extern inline void ergodox_right_led_on(uint8_t led);
9 extern inline void ergodox_board_led_off(void);
10 extern inline void ergodox_right_led_1_off(void);
11 extern inline void ergodox_right_led_2_off(void);
12 extern inline void ergodox_right_led_3_off(void);
13 extern inline void ergodox_right_led_off(uint8_t led);
15 void ergodox_led_init(void);
16 void ergodox_blink_all_leds(void);
18 void matrix_init_kb(void) {
20 ergodox_blink_all_leds();
24 void ergodox_led_init(void)
26 DDRB |= (1<<PB5 | 1<<PB6 | 1<<PB3);
27 PORTB &= ~(1<<PB5 | 1<<PB6 | 1<<PB3);
34 void ergodox_blink_all_leds(void)
36 ergodox_led_all_off();
37 ergodox_led_all_set(LED_BRIGHTNESS_HI);
38 ergodox_right_led_1_on();
40 ergodox_right_led_2_on();
42 ergodox_right_led_3_on();
44 ergodox_right_led_1_off();
46 ergodox_right_led_2_off();
48 ergodox_right_led_3_off();
49 //ergodox_led_all_on();
51 ergodox_led_all_off();