/* * uart.c * * Created: 20.02.2019 20:50:13 * Author: jens */ #include #include #include "uart.h" void uart_init(uint16_t BAUD_PRESCALE) { // Set baud rate UBRR0L = (uint8_t)BAUD_PRESCALE; UBRR0H = (uint8_t)(BAUD_PRESCALE >> 8); // Enable receiver and transmitter UCSR0B = (1<