All credits to Tensor@geekhack
http://geekhack.org/index.php?topic=48106.msg1076661#msg1076661
PORTC |= (1<<7);
PORTD |= (1<<7 | 1<<5 | 1<<4);
PORTE |= (1<<6);
+}
- // blink leds
+void ergodox_blink_all_leds(void)
+{
ergodox_led_all_off();
ergodox_led_all_set(LED_BRIGHTNESS_HI);
ergodox_led_all_on();
#define OLATB 0x15
void init_ergodox(void);
+void ergodox_blink_all_leds(void);
uint8_t init_mcp23018(void);
uint8_t ergodox_left_leds_update(void);
// initialize row and col
init_ergodox();
mcp23018_status = init_mcp23018();
+ ergodox_blink_all_leds();
unselect_rows();
init_cols();