added uart functions that are based on Peter Fleurys UART library