#include #include int main(void) { display_t display = { .reg = { .output = { .ddr = &DDRB, .port = &PORTB, .pin = &PINB, .addr = 2 }, .shift_clock = { .ddr = &DDRB, .port = &PORTB, .pin = &PINB, .addr = 1 }, .latch_clock = { .ddr = &DDRB, .port = &PORTB, .pin = &PINB, .addr = 0 }, }, }; display_init(&display); display_write_message(&display, "ready"); }