UART library for AVR microcontrollers