Initial implementation of ring buffer for USART output