changed static method and enabled RX interrupt in USART