/* * uart.c * * Created: 13.04.2023 15:32:02 * Author: mrnek */ #include #include "uart.h" void USART_Init(unsigned int ubrr) { /*Set baud rate */ UBRR0H = (unsigned char)(ubrr>>8); UBRR0L = (unsigned char)ubrr; UBRR0H = 0; UBRR0L = 8; /* Set frame format: 8data, 2stop bit */ UCSR0C = (1<