program to transmit and receive one character over UART, like minicom