USART interrupt handler for receiving data and some timing system experiments