//#define F_CPU 16000000 #include #include #include #define BAUDRATE 115200L #define SERIAL_FORMAT_8N1 0x06 FILE* uart_init(void); static int uart_putc(char c, FILE *stream); static FILE outfile = FDEV_SETUP_STREAM(uart_putc, NULL, _FDEV_SETUP_WRITE); int main(void) { stdout = uart_init(); DDRB |= (1<