USART lib and examples